3 messages in com.mysql.lists.javaRe: strange encoding problem
FromSent OnAttachments
jerz...@interia.pl19 Aug 2004 09:39 
Gorazd Golob19 Aug 2004 10:32 
jerz...@interia.pl19 Aug 2004 10:50 
Subject:Re: strange encoding problem
From:Gorazd Golob (gora@noviforum.si)
Date:08/19/2004 10:32:32 AM
List:com.mysql.lists.java

Hi!

Did you try using "characterEncoding=" in JDBC url?

bye, Gorazd

On Thu, 19 Aug 2004 jerz@interia.pl wrote:

Hi all

I have a strange encoding problem with MySql and my java based application. My MySql use the latin2 Charest and connection driver is also set to use latin2 despite this I also use: resultSet.getBytes("latin2") - to get data from MySql and new String("SELECT * FROM MIASTA WHERE NAZWA='?ód?'","latin2") - to prepare
queries all characters displays correctly but when I try to search for character '?'
MySql also returns strings which contains only '?', only witch this two
characters I have this problem.

I have no idea what could be wrong. please help me!!!