summaryrefslogtreecommitdiffstats
path: root/doc/Utf.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-19 20:16:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-19 20:16:25 (GMT)
commitb752d879c75b2b284c39120f000ad906c7506b87 (patch)
tree5c2e5f6801e0a410bb7504dec3917cdea6a287ef /doc/Utf.3
parent52ed230e6f1f0f90a1ee63afa7a4d9948fd336ae (diff)
parent886343e50b064acf649c4bdabd7ebbe269249485 (diff)
downloadtcl-b752d879c75b2b284c39120f000ad906c7506b87.zip
tcl-b752d879c75b2b284c39120f000ad906c7506b87.tar.gz
tcl-b752d879c75b2b284c39120f000ad906c7506b87.tar.bz2
Merge 8.6
Diffstat (limited to 'doc/Utf.3')
-rw-r--r--doc/Utf.32
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Utf.3 b/doc/Utf.3
index 922fd81..afcff79 100644
--- a/doc/Utf.3
+++ b/doc/Utf.3
@@ -132,7 +132,7 @@ represent one Unicode character in the UTF-8 representation.
.PP
\fBTcl_UniCharToUtf\fR stores the character \fIch\fR as a UTF-8 string
in starting at \fIbuf\fR. The return value is the number of bytes stored
-in \fIbuf\fR. If ch is an upper surrogate (range U+D800 - U+DBFF), then
+in \fIbuf\fR. If ch is a high surrogate (range U+D800 - U+DBFF), then
the return value will be 0 and nothing will be stored. If you still
want to produce UTF-8 output for it (even though knowing it's an illegal
code-point on its own), just call \fBTcl_UniCharToUtf\fR again using ch = -1.