pspp-users
[Top][All Lists]
Advanced

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

Re: Ubuntu PSPP, encoding questions


From: John Darrington
Subject: Re: Ubuntu PSPP, encoding questions
Date: Thu, 6 Jun 2013 07:09:13 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Jun 05, 2013 at 05:44:55PM +0300, Igor Rynkovoy wrote:
     I am interested in both (dictionary and string data).
     
     I had tried pspp-dump-sav and saved output to "output.txt" file. I attached
     ZIP archive with:
     * sps file
     * data file
     * sav file
     * output of pspp-dump-sav file
     
     As you can see, I have compiled SAV file with SET LOCALE encoding
     "windows-1251". But pspp-dump-sav says that SAV file has "utf-8" encoding.
     
     SAV file opens well in SPSS of 20th version, but in 15th version - Cyrillic
     does not work.
     
     Also, I have just tested PSPP with Windows. Without SET LOCAL command file
     has CP1251. With SET LOCALE='utf-8' file has CP1251 too. So it seems, that
     SET LOCALE makes no changes.
     
     Please, check, maybe I set locale in wrong place?

If you move the SET LOCALE command to the start of the .sps file (before the
GET DATA command) then it should work.

I tried this with version 0.7.10 and all characters seemed to display correctly.

J'
     

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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