diff options
author | dgp <dgp@users.sourceforge.net> | 2003-07-18 16:56:24 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-07-18 16:56:24 (GMT) |
commit | e7fe85a9c83ac99d29c83dc003abe20abe576c57 (patch) | |
tree | fb3c1ca628b14b5d0605755878ce299e05cde7a2 /doc/Encoding.3 | |
parent | 5153262cb382cf320355160b48b661e92058973c (diff) | |
download | tcl-e7fe85a9c83ac99d29c83dc003abe20abe576c57.zip tcl-e7fe85a9c83ac99d29c83dc003abe20abe576c57.tar.gz tcl-e7fe85a9c83ac99d29c83dc003abe20abe576c57.tar.bz2 |
* doc/AddErrInfo.3: Improved consistency of documentation
* doc/CrtTrace.3: by using "null" everywhere to refer to
* doc/Encoding.3: the character '\0', and using "NULL"
* doc/Eval.3: everywhere to refer to the value of a
* doc/GetIndex.3: pointer that points to nowhere.
* doc/Hash.3: Also dropped references to ASCII that
* doc/LinkVar.3: are no longer true, and standardized on
* doc/Macintosh.3: the hyphenated spelling of "null-terminated".
* doc/OpenFileChnl.3:
* doc/SetVar.3:
* doc/StringObj.3:
* doc/Utf.3:
Diffstat (limited to 'doc/Encoding.3')
-rw-r--r-- | doc/Encoding.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Encoding.3 b/doc/Encoding.3 index 769a059..b2cd235 100644 --- a/doc/Encoding.3 +++ b/doc/Encoding.3 @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: Encoding.3,v 1.11 2002/07/01 18:24:39 jenglish Exp $ +'\" RCS: @(#) $Id: Encoding.3,v 1.11.2.1 2003/07/18 16:56:24 dgp Exp $ '\" .so man.macros .TH Tcl_GetEncoding 3 "8.1" Tcl "Tcl Library Procedures" @@ -174,7 +174,7 @@ and delete it from the database. .PP \fBTcl_ExternalToUtfDString\fR converts a source buffer \fIsrc\fR from the specified \fIencoding\fR into UTF-8. The converted bytes are stored in -\fIdstPtr\fR, which is then NULL terminated. The caller should eventually +\fIdstPtr\fR, which is then null-terminated. The caller should eventually call \fBTcl_DStringFree\fR to free any information stored in \fIdstPtr\fR. When converting, if any of the characters in the source buffer cannot be represented in the target encoding, a default fallback character will be @@ -212,7 +212,7 @@ the target encoding and TCL_ENCODING_STOPONERROR was specified. \fBTcl_UtfToExternalDString\fR converts a source buffer \fIsrc\fR from UTF-8 into the specified \fIencoding\fR. The converted bytes are stored in \fIdstPtr\fR, which is then terminated with the appropriate encoding-specific -NULL. The caller should eventually call \fBTcl_DStringFree\fR to free any +null. The caller should eventually call \fBTcl_DStringFree\fR to free any information stored in \fIdstPtr\fR. When converting, if any of the characters in the source buffer cannot be represented in the target encoding, a default fallback character will be used. The return value is |