diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-05-07 13:44:53 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-05-07 13:44:53 (GMT) |
commit | c1591561bfc41b9b4bd3f4bf09929d419325c9ef (patch) | |
tree | 37cb01a430b3bd866c9553a9c96f924d89bfb18d /doc/Encoding.3 | |
parent | 6719603e33c57f2078c03f8144a7eb61f2dede0e (diff) | |
download | tcl-c1591561bfc41b9b4bd3f4bf09929d419325c9ef.zip tcl-c1591561bfc41b9b4bd3f4bf09929d419325c9ef.tar.gz tcl-c1591561bfc41b9b4bd3f4bf09929d419325c9ef.tar.bz2 |
doc fix
Diffstat (limited to 'doc/Encoding.3')
-rw-r--r-- | doc/Encoding.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/Encoding.3 b/doc/Encoding.3 index d853977..73ad65d 100644 --- a/doc/Encoding.3 +++ b/doc/Encoding.3 @@ -25,13 +25,13 @@ int char * \fBTcl_ExternalToUtfDString\fR(\fIencoding, src, srcLen, dstPtr\fR) .sp -char * +size_t \fBTcl_ExternalToUtfDStringEx\fR(\fIencoding, src, srcLen, flags, dstPtr\fR) .sp char * \fBTcl_UtfToExternalDString\fR(\fIencoding, src, srcLen, dstPtr\fR) .sp -char * +size_t \fBTcl_UtfToExternalDStringEx\fR(\fIencoding, src, srcLen, flags, dstPtr\fR) .sp int @@ -261,8 +261,8 @@ a pointer to the value stored in the DString. .PP \fBTcl_UtfToExternalDStringEx\fR is the same as \fBTcl_UtfToExternalDString\fR, but it has an additional flags parameter. The return value is the index of -the first byte in the input string causing a conversion error. -Or (size_t)-1 if all is OK. +the first byte of an utf-8 byte-sequence in the input string causing a +conversion error. Or (size_t)-1 if all is OK. .PP \fBTcl_UtfToExternal\fR converts a source buffer \fIsrc\fR from UTF-8 into the specified \fIencoding\fR. Up to \fIsrcLen\fR bytes are converted from |