diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-12-12 08:23:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-12-12 08:23:58 (GMT) |
commit | e3f42b0c1afa79ffc4221e09f7eba2845a66f3ae (patch) | |
tree | b3657960accdd93523e6ef4cc495cc4341698ba0 /doc | |
parent | f8474f319cd5f760b58a607747e8c5d35443db8d (diff) | |
download | tcl-e3f42b0c1afa79ffc4221e09f7eba2845a66f3ae.zip tcl-e3f42b0c1afa79ffc4221e09f7eba2845a66f3ae.tar.gz tcl-e3f42b0c1afa79ffc4221e09f7eba2845a66f3ae.tar.bz2 |
Little doc tweak
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Utf.3 | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -153,13 +153,12 @@ case-insensitive (1). .SH DESCRIPTION .PP These routines convert between UTF-8 strings and Unicode/Utf-16 characters. -An Unicode character represented as an unsigned, fixed-size -quantity. A UTF-8 character is a Unicode character represented as -a varying-length sequence of up to \fBTCL_UTF_MAX\fR bytes. A multibyte UTF-8 -sequence consists of a lead byte followed by some number of trail bytes. +A UTF-8 character is a Unicode character represented as a varying-length +sequence of up to \fB4\fR bytes. A multibyte UTF-8 sequence +consists of a lead byte followed by some number of trail bytes. .PP -\fBTCL_UTF_MAX\fR is the maximum number of bytes that it takes to -represent one Unicode character in the UTF-8 representation. +\fBTCL_UTF_MAX\fR is the maximum number of bytes that \fBTcl_UtfToUniChar\fR +can consume in a single call. .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 |