Re: [rfc] unicode escapes for extended strings

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [rfc] unicode escapes for extended strings
Дата
Msg-id 1253817752.12572.11.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: [rfc] unicode escapes for extended strings  (Marko Kreen <markokr@gmail.com>)
Ответы Re: [rfc] unicode escapes for extended strings  (tomas@tuxteam.de)
Список pgsql-hackers
On Wed, 2009-09-23 at 22:46 +0300, Marko Kreen wrote:
> I looked at your code for U& and saw that you allow standalone
> second half of the surrogate pair there, although you error
> out on first half.  Was that deliberate?

No.

> Perhaps pg_verifymbstr() should be made to check for such values,
> because even if we fix the escaping code, such data can still be
> inserted via plain utf8 or \x escapes?

Good idea.  This could also check for other invalid things like
byte-order marks in UTF-8.



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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Unicode Normalization
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Join optimization for inheritance tables