diff options
| author | apnadkarni <apnmbx-wits@yahoo.com> | 2023-07-28 05:04:44 (GMT) |
|---|---|---|
| committer | apnadkarni <apnmbx-wits@yahoo.com> | 2023-07-28 05:04:44 (GMT) |
| commit | dc033db22466ffffb494ea282d792820e980169f (patch) | |
| tree | 1698d5ec39104b82c08f103ae4d9e0e5ce228b64 | |
| parent | d74efff177b7b92cc88985d053f0db41a5368f42 (diff) | |
| parent | 5c12e533556c6a10c210e66b2044cd5a921df747 (diff) | |
| download | tcl-dc033db22466ffffb494ea282d792820e980169f.zip tcl-dc033db22466ffffb494ea282d792820e980169f.tar.gz tcl-dc033db22466ffffb494ea282d792820e980169f.tar.bz2 | |
Merge 8.7 Encoding doc fix
| -rw-r--r-- | doc/Encoding.3 | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/Encoding.3 b/doc/Encoding.3 index 19e7fab..9fac9e9 100644 --- a/doc/Encoding.3 +++ b/doc/Encoding.3 @@ -218,17 +218,16 @@ used. The return value is a pointer to the value stored in the DString. be used to specify the profile to be used for the transform. The \fBTCL_ENCODING_START\fR and \fBTCL_ENCODING_END\fR bits in \fBflags\fR are ignored as the function assumes the entire source string to be decoded is passed -into the function. On success, the function returns \fBTCL_ERROR\fR with the -converted string stored in \fB*dstPtr\fR. For errors other than conversion -errors, such as invalid flags, the function returns \fBTCL_OK\fR with an error +into the function. On success, the function returns \fBTCL_OK\fR with the +converted string stored in \fB*dstPtr\fR. For errors \fIother than conversion +errors\fR, such as invalid flags, the function returns \fBTCL_ERROR\fR with an error message in \fBinterp\fR if it is not NULL. -.PP For conversion errors, \fBTcl_ExternalToUtfDStringEx\fR returns one of the \fBTCL_CONVERT_*\fR errors listed below for \fBTcl_ExternalToUtf\fR. When one of these conversion errors is returned, an error message is stored in \fBinterp\fR only if \fBerrorIdxPtr\fR is NULL. Otherwise, no error message -is stored as the function expects the caller is interested whatever is -decoded to that point and not treating this as an immediate error condition. +is stored as the function expects the caller is interested the decoded data +up to that point and not treating this as an immediate error condition. The index of the error location is stored in \fB*errorIdxPtr\fR. .PP The caller must call \fBTcl_DStringFree\fR to free up the \fB*dstPtr\fR resources |
