Re: JSON for PG 9.2

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: JSON for PG 9.2
Дата
Msg-id 4F188612.4010602@dunslane.net
обсуждение исходный текст
Ответ на Re: JSON for PG 9.2  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: JSON for PG 9.2  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers

On 01/19/2012 03:49 PM, Robert Haas wrote:
>
> In other words, let's decree that when the database encoding isn't
> UTF-8, *escaping* of non-ASCII characters doesn't work.  But
> *unescaped* non-ASCII characters should still work just fine.

The spec only allows unescaped Unicode chars (and for our purposes that 
means UTF8). An unescaped non-ASCII character in, say, ISO-8859-1 will 
result in something that's not legal JSON. See 
<http://www.ietf.org/rfc/rfc4627.txt?number=4627> section 3.

cheers

andrew


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: WIP -- renaming implicit sequences
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: WIP: index support for regexp search