| От | Tom Lane |
|---|---|
| Тема | Re: psql blows up on BOM character sequence |
| Дата | |
| Msg-id | 19448.1395688574@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: psql blows up on BOM character sequence (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: psql blows up on BOM character sequence
|
| Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes:
> I suspect suspect trying to do this in the parser will be quite messy.
> This needs to happen before the input is converted to the server
> encoding, I think.
Indeed --- what if the server isn't using utf8 internally?
And a larger point is that the server has no idea where the file
boundaries are. If we were to do this server-side, we'd essentially
end up discarding BOM anywhere, which is more libertine than I care
to be.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера