Re: UTF8 with BOM support in psql

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: UTF8 with BOM support in psql
Дата
Msg-id 4ADD96F9020000250002BB9B@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: UTF8 with BOM support in psql  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> wrote:
> What I think we might sensibly do is to eat the leading BOM of an
> SQL file iff the client encoding is UTF8, and otherwise treat it as
> just bytes in whatever the encoding is.
Only at the beginning of the file or stream?  What happens when people
concatenate files?  Would it make sense to treat BOM as whitespace in
UTF-8, or maybe ignore it entirely?
-Kevin


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