tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Weidemann <Andre.Weidem...@web.de>
Subject Re: Retrieveing Unicode stuff from MySQL 4.1.x ?
Date Wed, 14 Jul 2004 09:29:55 GMT
Ivan Jouikov wrote:
> I tried to use table with CHARACTER SET UTF8, but it didn't change anything :(
> 
> Any other suggestions?

I'm using a line like the one below to connect to the MySQL DB and it is 
working quite well here:

DBUrl="jdbc:mysql://"+server+":"+databaseport+"/"+database+"?user="+login+"&password="+password+"&useUnicode=true&characterEncoding=UTF-8";

You may want to specify "characterSetResults" as well.

http://dev.mysql.com/doc/connector/j/en/index.html



  André.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message