pspp-dev
[Top][All Lists]
Advanced

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

Re: Outputting .sav files


From: Ben Pfaff
Subject: Re: Outputting .sav files
Date: Thu, 01 Jan 2009 08:35:15 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

John Darrington <address@hidden> writes:

>      2) A .sav created in PSPP will not display unicode characters correctly
>      in SPSS 16. The same happens in the output window in PSPP. How can I get
>      all characters to display correctly?
>
> Well you need to understand exactly what you mean by "unicode
> characters" and "correctly".  By default, pspp writes string data in
> the encoding of the current locale.  Thus, if your current locale's
> encoding is (say) UTF8 and the machine on which you're running spss is
> ISO-8859-1, then clearly it's  not going to display "correctly".  So
> you have 2 choices: Either change the encoding of the current locale
> in which you're running pspp, OR change the encoding of the locale
> which spss uses to read the data (use the SET LOCALE command).

We've had a couple of questions just like this in the last few
weeks.  I wonder whether the user documentation needs some
information on locales?
-- 
"The road to hell is paved with convenient shortcuts."
--Peter da Silva




reply via email to

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