summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2004-07-16 20:46:51 (GMT)
committerandreas_kupries <akupries@shaw.ca>2004-07-16 20:46:51 (GMT)
commit6f9be46dca324a11afaa829bda9fd4c6d777a1c3 (patch)
treecba04ef2024ad71857d7ed836ff7886d4f6e8923 /doc
parentc3aad42ff98f12c1125adffa3005da0d29e35891 (diff)
downloadtcl-6f9be46dca324a11afaa829bda9fd4c6d777a1c3.zip
tcl-6f9be46dca324a11afaa829bda9fd4c6d777a1c3.tar.gz
tcl-6f9be46dca324a11afaa829bda9fd4c6d777a1c3.tar.bz2
* doc/CrtCommand.3: Added note that the arguments given to the
command proc of a Tcl_CreateCommand are in utf8 since Tcl 8.1. Closing [Tcl SF Patch 414778].
Diffstat (limited to 'doc')
-rw-r--r--doc/CrtCommand.37
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/CrtCommand.3 b/doc/CrtCommand.3
index f766361..569975f 100644
--- a/doc/CrtCommand.3
+++ b/doc/CrtCommand.3
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: CrtCommand.3,v 1.5 2002/08/05 03:24:39 dgp Exp $
+'\" RCS: @(#) $Id: CrtCommand.3,v 1.5.2.1 2004/07/16 20:46:52 andreas_kupries Exp $
'\"
.so man.macros
.TH Tcl_CreateCommand 3 "" Tcl "Tcl Library Procedures"
@@ -103,6 +103,11 @@ point to constant strings or may be shared with other parts of the
interpreter.
.VE
.PP
+.VS
+Note that the argument strings are encoded in normalized UTF-8 since
+version 8.1 of Tcl.
+.VE
+.PP
\fIProc\fR must return an integer code that is either \fBTCL_OK\fR, \fBTCL_ERROR\fR,
\fBTCL_RETURN\fR, \fBTCL_BREAK\fR, or \fBTCL_CONTINUE\fR. See the Tcl overview man page
for details on what these codes mean. Most normal commands will only