summaryrefslogtreecommitdiffstats
path: root/doc/Encoding.3
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2003-07-18 16:56:41 (GMT)
committerdgp <dgp@users.sourceforge.net>2003-07-18 16:56:41 (GMT)
commit2fbb36cdb77e640aa7cd11eddf6d19a7ac5c4490 (patch)
tree1ce06266c9eea32745b621fc2e59897eb944db81 /doc/Encoding.3
parentae9d3f4db9aeb71d1d16b022105d11fc689fcf86 (diff)
downloadtcl-2fbb36cdb77e640aa7cd11eddf6d19a7ac5c4490.zip
tcl-2fbb36cdb77e640aa7cd11eddf6d19a7ac5c4490.tar.gz
tcl-2fbb36cdb77e640aa7cd11eddf6d19a7ac5c4490.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.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Encoding.3 b/doc/Encoding.3
index a4fc94f..7d505aa 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.12 2003/05/23 00:35:29 patthoyts Exp $
+'\" RCS: @(#) $Id: Encoding.3,v 1.13 2003/07/18 16:56:41 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