Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
7cd082f9
Commit
7cd082f9
authored
Sep 07, 2010
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that surrogate pairs are not encoded in UTF-8 directly
parent
c5d94a34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
21 deletions
+28
-21
doc/src/sgml/syntax.sgml
doc/src/sgml/syntax.sgml
+28
-21
No files found.
doc/src/sgml/syntax.sgml
View file @
7cd082f9
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.15
4 2010/09/01 18:22:29 tgl
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.15
5 2010/09/07 18:54:09 petere
Exp $ -->
<chapter id="sql-syntax">
<chapter id="sql-syntax">
<title>SQL Syntax</title>
<title>SQL Syntax</title>
...
@@ -236,12 +236,15 @@ U&"d!0061t!+000061" UESCAPE '!'
...
@@ -236,12 +236,15 @@ U&"d!0061t!+000061" UESCAPE '!'
<para>
<para>
The Unicode escape syntax works only when the server encoding is
The Unicode escape syntax works only when the server encoding is
UTF8. When other server encodings are used, only code points in
<literal>UTF8</>. When other server encodings are used, only code
the ASCII range (up to <literal>\007F</literal>) can be specified.
points in the ASCII range (up to <literal>\007F</literal>) can be
Both the 4-digit and the 6-digit form can be used to specify
specified. Both the 4-digit and the 6-digit form can be used to
UTF-16 surrogate pairs to compose characters with code points
specify UTF-16 surrogate pairs to compose characters with code
larger than U+FFFF (although the availability of
points larger than U+FFFF, although the availability of the
the 6-digit form technically makes this unnecessary).
6-digit form technically makes this unnecessary. (When surrogate
pairs are used when the server encoding is <literal>UTF8</>, they
are first combined into a single code point that is then encoded
in UTF-8.)
</para>
</para>
<para>
<para>
...
@@ -431,13 +434,15 @@ SELECT 'foo' 'bar';
...
@@ -431,13 +434,15 @@ SELECT 'foo' 'bar';
<para>
<para>
The Unicode escape syntax works fully only when the server
The Unicode escape syntax works fully only when the server
encoding is UTF-8. When other server encodings are used, only
encoding is <literal>UTF8</>. When other server encodings are
code points in the ASCII range (up to <literal>\u007F</>) can be
used, only code points in the ASCII range (up
specified. Both the 4-digit and the 8-digit form can be used to
to <literal>\u007F</>) can be specified. Both the 4-digit and
specify UTF-16 surrogate pairs to compose characters with code
the 8-digit form can be used to specify UTF-16 surrogate pairs to
points larger than U+FFFF (although the
compose characters with code points larger than U+FFFF, although
availability of the 8-digit form technically makes this
the availability of the 8-digit form technically makes this
unnecessary).
unnecessary. (When surrogate pairs are used when the server
encoding is <literal>UTF8</>, they are first combined into a
single code point that is then encoded in UTF-8.)
</para>
</para>
<caution>
<caution>
...
@@ -517,13 +522,15 @@ U&'d!0061t!+000061' UESCAPE '!'
...
@@ -517,13 +522,15 @@ U&'d!0061t!+000061' UESCAPE '!'
<para>
<para>
The Unicode escape syntax works only when the server encoding is
The Unicode escape syntax works only when the server encoding is
UTF8. When other server encodings are used, only code points in
<literal>UTF8</>. When other server encodings are used, only
the ASCII range (up to <literal>\007F</literal>) can be
code points in the ASCII range (up to <literal>\007F</literal>)
specified.
can be specified. Both the 4-digit and the 6-digit form can be
Both the 4-digit and the 6-digit form can be used to specify
used to specify UTF-16 surrogate pairs to compose characters with
UTF-16 surrogate pairs to compose characters with code points
code points larger than U+FFFF, although the availability of the
larger than U+FFFF (although the availability
6-digit form technically makes this unnecessary. (When surrogate
of the 6-digit form technically makes this unnecessary).
pairs are used when the server encoding is <literal>UTF8</>, they
are first combined into a single code point that is then encoded
in UTF-8.)
</para>
</para>
<para>
<para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment