How to set central european encoding
Posted by:
Tom Pop
Date: March 24, 2005 06:43AM
Hello, please, I have this problem:
MySQL 4.1.10
Connector/J 3.1.7
I have SQL dump in ISO-8859-2 encoding, I have these variables in MySQL:
character_set_database latin2
I use this URL to connect to the database:
jdbc:mysql://localhost/dbName?useUnicode=true&characterEncoding=ISO8859_2
But central european specific characters displays like '?'. When I use my application and edit the text, it's stored to DB correctly and displays correctly too, but I don't want to rewrite all my database content :-)
I worked fine with MySQL 4.0 and URL:
jdbc:mysql://localhost/dbName?useUnicode=true&characterEncoding=ISO-8859-2
Please, what should I do to fix the problem?
Thanks.
Tom
Subject
Views
Written By
Posted
How to set central european encoding
3660
March 24, 2005 06:43AM
1951
May 07, 2005 08:24AM
2652
May 07, 2005 02:48PM
2028
August 24, 2005 02:39PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.