Hi,
ive a problem with some chars.
Im using mySQL with phpmyadmin and everything seems to work fine! But
when i run my Java application i have the problem that all chars lik ä,
ö, ü, ß .... => are displayed like [] (squares) or obj....
What can i do.
At home my app runs without problems...
What can I do?
I apreciate any kind of help!
willirl - 24 Jan 2005 13:41 GMT
How are you "displaying" the text? System.out, browser, etc..?
Markus Siebert - 24 Jan 2005 15:41 GMT
willirl schrieb:
> How are you "displaying" the text? System.out, browser, etc..?
I create a DB object that returns resultsets with a method
getQuery(String sqlQuey).
Then ill print the results in textfields with
tf.setText(rs.getString("attrib1");
The values in my database are ok.
Sergey Bezrukov - 24 Jan 2005 16:01 GMT
Hi !
> Hi,
> ive a problem with some chars.
> Im using mySQL with phpmyadmin and everything seems to work fine!
Did you read this doc ?
http://dev.mysql.com/doc/connector/j/en/cj-character-sets.html
I think the problem is character set mismatch between server and client.
Try to set "characterEncoding" connection property to the right value.
Hope this helps.
--
WBR,
Serge.