W
Wolfgang
I have a servlet that reads data from a mySQL database and writes them
to a Web page. (I'm using the latest mySQL 4.1.0-alpha, supporting
Unicode)
The JDBC connection string I use calls for UTF-8 encoding (which is
what the data in the database is), like
jdbc:mysql://host/database?useUnicode=true&characterEncoding=UTF-8
This works fine for some (special) characters, like the German
ä (\u00E4)
ö (\u00F6) and
ü (\u00FC)
but not for others, like
ß (\u00DF)
(this is the funny German "sharp S")
Can you think of an explanation for this problem, why does the UTF-8
decoding not work for ß (\u00DF) when it works ok for other
special characters?
Thanks,
Wolfgang
to a Web page. (I'm using the latest mySQL 4.1.0-alpha, supporting
Unicode)
The JDBC connection string I use calls for UTF-8 encoding (which is
what the data in the database is), like
jdbc:mysql://host/database?useUnicode=true&characterEncoding=UTF-8
This works fine for some (special) characters, like the German
ä (\u00E4)
ö (\u00F6) and
ü (\u00FC)
but not for others, like
ß (\u00DF)
(this is the funny German "sharp S")
Can you think of an explanation for this problem, why does the UTF-8
decoding not work for ß (\u00DF) when it works ok for other
special characters?
Thanks,
Wolfgang