BUG #5398: psql gives syntax error on .sql files with UTF-8 BOM
В списке pgsql-bugs по дате отправления:
| От | Peter Jukel |
|---|---|
| Тема | BUG #5398: psql gives syntax error on .sql files with UTF-8 BOM |
| Дата | |
| Msg-id | 201003310441.o2V4fEMm048826@wwwmaster.postgresql.org обсуждение |
| Ответы |
Re: BUG #5398: psql gives syntax error on .sql files with UTF-8 BOM
|
| Список | pgsql-bugs |
The following bug has been logged online: Bug reference: 5398 Logged by: Peter Jukel Email address: pjukel@triplehash.com PostgreSQL version: 8.4 Operating system: Mac OSX 10.5.8 Description: psql gives syntax error on .sql files with UTF-8 BOM Details: 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. The irony is that the query tool supplied with PostGres (PGAdmin) saves with the BOM. So it would appear to me that any script written in this tool would display a syntax error. Regards Peter
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера