| От | Andrew Dunstan |
|---|---|
| Тема | Re: [rfc] unicode escapes for extended strings |
| Дата | |
| Msg-id | 49E8D87A.6080607@dunslane.net обсуждение исходный текст |
| Ответ на | Re: [rfc] unicode escapes for extended strings (Marko Kreen <markokr@gmail.com>) |
| Ответы |
Re: [rfc] unicode escapes for extended strings
|
| Список | pgsql-hackers |
Marko Kreen wrote:
> + if (c > 0x7F)
> + {
> + if (GetDatabaseEncoding() != PG_UTF8)
> + yyerror("Unicode escape values cannot be used for code point values above 007F when the server encoding
isnot UTF8");
> + saw_high_bit = true;
> + }
>
Is that really what we want to do? ISTM that one of the uses of this is
to say "store the character that corresponds to this Unicode code point
in whatever the database encoding is", so that \u00a9 would become an
encoding independent way of designating the copyright symbol, for instance.
cheers
andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера