aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/func.sgml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 3adb36579ea..4c5af4b83c8 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -10161,6 +10161,17 @@ table2-mapping
<note>
<para>
+ Many of these functions and operators will convert Unicode escapes
+ in the JSON text to the appropriate UTF8 character when the database encoding is UTF8. In
+ other encodings the escape sequence must be for an ASCII character, and any other code point
+ in a Unicode escape sequence will result in an error.
+ In general, it is best to avoid mixing Unicode escapes in JSON with a non-UTF8 database
+ encoding, if possible.
+ </para>
+ </note>
+
+ <note>
+ <para>
The <xref linkend="hstore"> extension has a cast from <type>hstore</type> to
<type>json</type>, so that converted <type>hstore</type> values are represented as JSON objects,
not as string values.