Re: JSON and unicode surrogate pairs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: JSON and unicode surrogate pairs
Дата
Msg-id 27403.1370976003@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: JSON and unicode surrogate pairs  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> As a final counter example, let me note that Postgres itself handles 
> Unicode escapes differently in UTF8 databases - in other databases it 
> only accepts Unicode escapes up to U+007f, i.e. ASCII characters.

Good point.  What if we adopt that same definition for JSON, and get rid
of the need to do explicit encoding conversion at all in the JSON code?
        regards, tom lane



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