Re: UTF8 with BOM support in psql

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: UTF8 with BOM support in psql
Дата
Msg-id 1256119208.12996.1.camel@fsopti579.F-Secure.com
обсуждение исходный текст
Ответ на Re: UTF8 with BOM support in psql  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: UTF8 with BOM support in psql  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Wed, 2009-10-21 at 13:11 +0900, Itagaki Takahiro wrote:
> The attached patch replace BOM with while spaces, but it does not
> change client encoding automatically. I think we can always ignore
> client encoding at the replacement because SQL command cannot start
> with BOM sequence. If we don't ignore the sequence, execution of
> the script must fail with syntax error.

I feel that psql is the wrong place to fix this.  BOMs in UTF-8 should
be ignored everywhere, all the time.



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Could regexp_matches be immutable?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Client application name