Heike Franosch writes:
> What really is worrying me is that when I write
> it to a db it still is encoded.
What do you mean by "write it to a db"? If you take the file as a byte
sequence, without processing by a Reader/Writer, its encoding will be
unchanged. The FileReader/FileWriter use the locale's encoding, i.e.
ISO-8859-1 in your case.
> If that is all right, then probably your application or JVM is broken and
> does not check the locale correctly with "nl_langinfo(CODESET)".
The Sun JDK 1.3 on Linux, in locale de_DE, knows that the locale
encoding is ISO-8859-1. Even with glibc-2.1.x. I verified that.
Bruno
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/