Re: Encoding issues

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Encoding issues
Дата
Msg-id 27521.1217652034@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Encoding issues  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: Encoding issues  (Oliver Jowett <oliver@opencloud.com>)
Re: Encoding issues  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Oliver Jowett <oliver@opencloud.com> writes:
> Jeff Davis wrote:
>> or at least blindly pass the bytes on to the server?

> What bytes? You have a bunch of UTF-16 characters (possibly with
> surrogate pairs etc). What encoding do you use to turn that into a
> bytestream?

It wouldn't be entirely unreasonable to define the answer as "UTF-8".
That would at least provide serviceable behavior to a goodly group of
users, whereas the current implementation seems guaranteed to fail
for everyone (other than us ASCII-only Neanderthals who don't care
anyway...)

            regards, tom lane

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Encoding issues
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Encoding issues