Re: Load UTF8@psql into latin1@mysql through JDBC

Поиск
Список
Период
Сортировка
От Emi Lu
Тема Re: Load UTF8@psql into latin1@mysql through JDBC
Дата
Msg-id 50C8C325.3070809@encs.concordia.ca
обсуждение исходный текст
Ответ на Re: Load UTF8@psql into latin1@mysql through JDBC  (Adrian Klaver <adrian.klaver@gmail.com>)
Ответы Re: Load UTF8@psql into latin1@mysql through JDBC  (Emi Lu <emilu@encs.concordia.ca>)
Re: Load UTF8@psql into latin1@mysql through JDBC  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-sql
>> 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.

Thanks.
--
Emi





В списке pgsql-sql по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Load UTF8@psql into latin1@mysql through JDBC
Следующее
От: Emi Lu
Дата:
Сообщение: Re: Load UTF8@psql into latin1@mysql through JDBC