Which operating system are you using? Setting environment variables is operating system dependent. The command I gave you should work for nearly all GNU/Linux systems. If you're using a different OS, then you need to read the instructions for that (or ask someone who knows).
J' On Sat, Dec 06, 2008 at 09:49:17PM -0200, Karel Novotny wrote: Thanks for prompt help, John. I am using Gui version (psppire) where can I type the export command you mention. Or is that possible only in command line version? It would be great to be able to make this change permanently since I am going to be working only with files in one particular (non-english) encoding. Is there a way to do this? thanks for any tips karel On Sun, 2008-12-07 at 08:22 +0900, John Darrington wrote: > Pspp assumes that the sav file's encoding is the same as the current > locale. If that's not true, then you can change the LC_CTYPE environment > variable to match the encoding of the file. > > > For example, the file at > http://savannah.gnu.org/file/databas.sav?file_id=1906 is encoded > in ISO-8859-1, whereas my system default is UTF-8. When I open it, > the non-ascii characters appear as '?'. But if I type > "export LC_CTYPE=en_AU.ISO-8859-1" then it displays properly. > > Hope this helps. > > J' > > On Sat, Dec 06, 2008 at 05:52:17PM -0200, Karel Novotny wrote: > Hello all, > > Anyone can advise me how to change encoding in PSPP so as not to load > files with non-english characters crooked when loading a sav file? > > thanks > > karel > _______________________________________________ Pspp-users mailing list Pspp-users@gnu.org http://lists.gnu.org/mailman/listinfo/pspp-users -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
_______________________________________________ Pspp-users mailing list Pspp-users@gnu.org http://lists.gnu.org/mailman/listinfo/pspp-users