ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graeme J Sweeney <ibatis.u...@gjsweeney.com>
Subject Re: Ibatis and charset
Date Tue, 18 Sep 2007 08:19:24 GMT
On Tue, 18 Sep 2007, maomaode wrote:

> JDK6 + Mysql-Conn-3.0.10 + Mysql 5.0.45  + GBK (or GB2312, not the utf8)

AIUI all your Unicode will be converted to GBK, yet your inserts now 
seem to work (server-side conversion?).

> My Chinese characters is in UTF-8 (load from xml file, and encoded with 
> utf-8), and platform as well.

You could try calling "SET NAMES utf8".

-- 
Graeme -

Mime
View raw message