ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From startxxx <j...@u812.net>
Subject Re: Trying to insert hebrew text, mysql stores ??? instead
Date Sun, 16 Sep 2007 18:13:28 GMT

my database tables are set utf8
netbeans debugger shows me the hebrew value of the string fine
one line before i insert it using iBatis.

anything else?


Graeme J Sweeney wrote:
> 
> On Sun, 16 Sep 2007, startxxx wrote:
> 
>> The database seem to hold hebrew text if I add it using the mysql query
>> browser and the hebrew
>> values show fine when selected from my application using iBatis - so I
>> have
>> all reasons
>> to believe it's not a mysql setup issue (unless I'm missing something in
>> between the lines)..
> 
> Assuming the database character set is 'hebrew' and not 'utf8', have 
> you encoded the content correctly prior to inserting it?
> 
> See java.lang.String(byte[] bytes, String charsetName)
> 
> -- 
> Graeme -
> 
> 

-- 
View this message in context: http://www.nabble.com/Trying-to-insert-hebrew-text%2C-mysql-stores-----instead-tf4449744.html#a12724076
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message