Schroeder, Alexander wrote:

PS: The Java property 'file.encoding' does control how 8-bit text files are emitted/read in. Under Windows this is the codepage your system has set (probably containing euro at 0x80), under Linux/Sun it is 7-bit Ascii :-(
Hmm, this would only be true if you are using the "C" locale. If you set the environment variable LC_CTYPE to, say, de_DE.UTF-8 you should get UTF-8 as default encoding for all Reader and Writer instances.

Unfortunately, many people select "US english" when installing theis Unix boxes and expect to get ISO-8859-1. This is usually wrong, what you get is "C" locale which is 7-bit ASCII.

By the way:

Wouldn't is be a good idea to set _UNICODE=YES and DEFAULT_CODE=UNICODE as default for future versions of SapDB? I believe this would solve a lot of problems people are having, especially for people using Java.

Regards
Elias


_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general


Reply via email to