Re: Encoding Problem

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Encoding Problem
Дата
Msg-id 41E70C9F.90106@opencloud.com
обсуждение исходный текст
Ответ на Encoding Problem  (Jerome Colombie <jcolombie@gmx.ch>)
Список pgsql-jdbc
Jerome Colombie wrote:

>        byte[] temp = test.getBytes();

getBytes() uses the JVM's default encoding to convert from the internal
string char[] representation, which might be wrong.

More interesting is test.getBytes("UTF-8") or test.getChars() or
test.charAt(x)

-O

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Encoding Problem
Следующее
От: Jerome Colombie
Дата:
Сообщение: Re: Encoding Problem