On 11/30/2012 10:59 AM, Hannu Krosing wrote:

Btw, how does current json type handle code pages - is json always utf-8 even when server encoding is not ?

if so then we could at least have a shortcut conversion of json to utf8-text which can skip codepage changes.



IIRC json is stored and processed in the server encoding. Normally it would make sense to have that be utf8. It is delivered to the client in the client encoding.

cheers

andrew



--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to