Re: Load UTF8@psql into latin1@mysql through JDBC - Mailing list pgsql-sql

From Adrian Klaver
Subject Re: Load UTF8@psql into latin1@mysql through JDBC
Date
Msg-id 50C8DC4F.1040004@gmail.com
Whole thread Raw
In response to Re: Load UTF8@psql into latin1@mysql through JDBC  (Emi Lu <emilu@encs.concordia.ca>)
List pgsql-sql
On 12/12/2012 09:47 AM, Emi Lu wrote:
>>> Is there a simple way to load UTF8 data in psql to mysql(with latin1
>>> encoding) through JDBC?
>>
>> This would seem to be dependent on the MySQL JDBC adapter.
>>
>>> From here:
>>
>> http://dev.mysql.com/doc/refman/5.1/en/connector-j-reference-charsets.html
>>
>>
>> "All strings sent from the JDBC driver to the server are
>> converted automatically from native Java Unicode form to
>> the client character encoding, including all queries sent.... "
>
> This does not help. The reason I asked this is because through mybatis +
> JDBC, loading data from psql@utf8 to mysql@latin1, the french character
> cannot be auto-loaded.

You might get an answer sooner at:

https://groups.google.com/group/mybatis-user

>
> Thanks.
> --
> Emi
>
>


-- 
Adrian Klaver
adrian.klaver@gmail.com



pgsql-sql by date:

Previous
From: Emi Lu
Date:
Subject: Re: Load UTF8@psql into latin1@mysql through JDBC
Next
From: Wes James
Date:
Subject: deciding on one of multiple results returned