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

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Load UTF8@psql into latin1@mysql through JDBC
Дата
Msg-id 50C8BFCC.4060100@gmail.com
обсуждение исходный текст
Ответ на Load UTF8@psql into latin1@mysql through JDBC  (Emi Lu <emilu@encs.concordia.ca>)
Ответы Re: Load UTF8@psql into latin1@mysql through JDBC  (Emi Lu <emilu@encs.concordia.ca>)
Список pgsql-sql
On 12/12/2012 09:13 AM, Emi Lu wrote:
> Good morning,
> 
> 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.... "

> 
> Thanks a lot!
> Emi
> 
> 


-- 
Adrian Klaver
adrian.klaver@gmail.com



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

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