Re: Support UTF-8 files with BOM in COPY FROM

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Support UTF-8 files with BOM in COPY FROM
Дата
Msg-id CA+TgmobGLpx0gEzk_qDUddzpMxYxbG-xGWJQ79iZwXSHfcZcLA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Support UTF-8 files with BOM in COPY FROM  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Support UTF-8 files with BOM in COPY FROM
Список pgsql-hackers
On Mon, Sep 26, 2011 at 1:28 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> The thing that makes me doubt that is this comment from Tatsuo Ishii:
>> TI> COPY explicitly specifies the encoding (to be UTF-8 in this case).  So
>> TI> I think we should not regard U+FEFF as "BOM" in COPY, rather we should
>> TI> regard U+FEFF as "ZERO WIDTH NO-BREAK SPACE".
>
> Yeah, that's a reasonable argument for rejecting the patch altogether.

Yeah, or for making the behavior optional.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Support UTF-8 files with BOM in COPY FROM
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Support UTF-8 files with BOM in COPY FROM