Re: UTF8 with BOM support in psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: UTF8 with BOM support in psql
Дата
Msg-id 15613.1258418255@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: UTF8 with BOM support in psql  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> Please remember \encoding or SET client_encoding appear
> *after* BOM at beginning of file. I'll agree if the condition is 
> "Eat BOM at beginning of file and <<set client encoding to UTF-8>>",

As has been stated multiple times, that will not get accepted,
because it will *break* files in other encodings that chance to
match the BOM pattern.
        regards, tom lane


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

Предыдущее
От: Jan Urbański
Дата:
Сообщение: Re: Partitioning option for COPY
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: UTF8 with BOM support in psql