pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: running syntax file from ui vs running syntax file from command prom


From: Kees Varekamp
Subject: Re: running syntax file from ui vs running syntax file from command prompt
Date: Thu, 10 Apr 2014 01:42:04 +1200

Actually, it seems that both fail...

The gui shows the labels correctly directly after you run the script in the gui, but if you close, then open the output that was generated by save /outfile, it is garbled again. So that would indicate it's not the --syntax-encoding param but instead the sav reading or writing.


On Thu, Apr 10, 2014 at 1:25 AM, Kees Varekamp <address@hidden> wrote:
Here you are

- running this script from the command line (>pspp thai.sps --syntax-encoding=UTF-8) gives garbled labels
- opening it in the GUI (you need to manually select utf-8) works fine.

Cheers,

Kees





On Wed, Apr 9, 2014 at 9:45 PM, John Darrington <address@hidden> wrote:
Can you post an example syntax file which provokes the problem?

J'

On Wed, Apr 09, 2014 at 09:09:28PM +1200, Kees Varekamp wrote:
     Hi there,

     I am trying to run a utf-8 syntax script in PSPP 0.8.2 on win7 64bit, but I
     think there is a problem when I run the a syntax file from the command line:
      --syntax-encoding as a start param does not seem to work:

     I have tried:
     "C:\Program Files\PSPP\bin\pspp.exe" file.sps -b -o
     log.txt--syntax-encoding=UTF-8
     "C:\Program Files\PSPP\bin\pspp.exe" file.sps -b -o
     log.txt--syntax-encoding=utf-8
     "C:\Program Files\PSPP\bin\pspp.exe" file.sps -b -o
     log.txt--syntax-encoding=UTF8
     "C:\Program Files\PSPP\bin\pspp.exe" file.sps -b -o
     log.txt--syntax-encoding="UTF-8
     "
     "C:\Program Files\PSPP\bin\pspp.exe" --syntax-encoding="UTF-8" file.sps -b
     -o log.txt

     All with no success - my Thai characters get garbled. However, when I load
     the script through the gui (and select UTF-8 from the dialog) it works
     perfectly. So I think this command line param just doesn't work.

     Thanks,

     Kees

--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.




--
Kees Varekamp
MROffice Director
44 Castleford street, 0604, Auckland, New Zealand
Skype: kees.mroffice

MROffice - Meeting Market Research Needs



--
Kees Varekamp
MROffice Director
44 Castleford street, 0604, Auckland, New Zealand
Phone: +6492821656
Skype: kees.mroffice
Web: mroffice.org

MROffice - Meeting Market Research Needs

reply via email to

[Prev in Thread] Current Thread [Next in Thread]