Andrew Dunstan <and...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers