Re: BUG #5398: psql gives syntax error on .sql files with UTF-8 BOM

Поиск
Список
Период
Сортировка
От Takahiro Itagaki
Тема Re: BUG #5398: psql gives syntax error on .sql files with UTF-8 BOM
Дата
Msg-id 20100401095342.D026.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на BUG #5398: psql gives syntax error on .sql files with UTF-8 BOM  ("Peter Jukel" <pjukel@triplehash.com>)
Список pgsql-bugs
"Peter Jukel" <pjukel@triplehash.com> wrote:

> PostgreSQL version: 8.4
>
> The psql command gives syntax errors when fed .sql files that are saved with
> encoding "UTF-8" and contain a BOM (byte order marker). When the same file
> is saved using the encoding "UTF-8, no BOM", the syntax error is removed.

It will be improved in 9.0, the next release.
Ignore leading UTF-8-encoded Unicode byte-order marker in psql
http://developer.postgresql.org/pgdocs/postgres/release-9-0.html#AEN98917

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center

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

Предыдущее
От: Andy Balholm
Дата:
Сообщение: Re: dividing money by money
Следующее
От: Robert Haas
Дата:
Сообщение: Re: BUG #5388: bortdagos