diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-02-19 20:16:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-02-19 20:16:25 (GMT) |
commit | b752d879c75b2b284c39120f000ad906c7506b87 (patch) | |
tree | 5c2e5f6801e0a410bb7504dec3917cdea6a287ef /doc/Utf.3 | |
parent | 52ed230e6f1f0f90a1ee63afa7a4d9948fd336ae (diff) | |
parent | 886343e50b064acf649c4bdabd7ebbe269249485 (diff) | |
download | tcl-b752d879c75b2b284c39120f000ad906c7506b87.zip tcl-b752d879c75b2b284c39120f000ad906c7506b87.tar.gz tcl-b752d879c75b2b284c39120f000ad906c7506b87.tar.bz2 |
Merge 8.6
Diffstat (limited to 'doc/Utf.3')
-rw-r--r-- | doc/Utf.3 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |