As I said, in Mysql, euro symbols display correctly if I make a search, for instance with phpMysqlAdmin.
They change to "?" only if I search with a Java program via JDBC.
So, it's a Java encoding problem.
Something wrong with my String ?url=...
Can I use javascript to access and querying database tables, (such as in sql format), in different operating systems (windows, linux, mac os) ?
If yes, how to get information about it ?
Excuse me for delay !
I found this is a encoding problem, since my database uses ISO-8859-1, which has no euro symbol support, and ISO-8859-15 has it.
So, I've changed
String url= "jdbc:mysql://127.0.0.1/test";
to
String url=...
What I want is allow the user, by clicking or double clicking one cell or row in the grid, automatically copy its contents to a text or editbox.
Is it possible ?
I enter all my data in Mysql - and euro symbols display correctly if I make a search, for instance in phpMysqlAdmin.
They change to "?" only if I search with a Java program via JDBC.
And I cannot fix that - if I edit the TextField, save the change and restart the application, I get "?" instead...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.