Hi Bruno,
thanks for your answer.
> 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.
To be precise, I do some XPath queries and pick out single values, put
them all together in an sql query and write them to a db with jdbc.
And you are right, the encoding is unchanged.
Again this points to a locale problem ....
When I wright a little test program, just outputting a string with german
umlauts,
my linux box does it as expected. Principally it knows its locale all right.
Thanks, Heike
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/