Re: SET client_encoding = 'UTF8'

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: SET client_encoding = 'UTF8'
Дата
Msg-id Pine.BSO.4.64.0805180102480.28121@leary.csoft.net
обсуждение исходный текст
Ответ на SET client_encoding = 'UTF8'  (Daniel Migowski <dmigowski@ikoffice.de>)
Ответы Re: SET client_encoding = 'UTF8'  (Daniel Migowski <dmigowski@ikoffice.de>)
Список pgsql-jdbc

On Sun, 18 May 2008, Daniel Migowski wrote:

> The command SET client_encoding = 'UTF8'
>
> throws an exception in the driver, because the driver expects UNICODE.

This has been discussed before and the problem is that there are a too
many ways to say UTF8 [1].  You can say UTF8, UTF-8, UTF -- 8, and so on.
Perhaps we should strip all spaces and dashes prior to comparison?

[1] http://archives.postgresql.org/pgsql-jdbc/2008-02/threads.php#00174

Kris Jurka

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SET client_encoding = 'UTF8'
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: SET client_encoding = 'UTF8'