diff options
author | andreas_kupries <akupries@shaw.ca> | 2004-07-16 20:46:33 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2004-07-16 20:46:33 (GMT) |
commit | 1ccba0c56984c2bdc4eeb4775e19dcefdd20cc46 (patch) | |
tree | 10755d2f69bc713422166a73862fe3d0a6acf8ec | |
parent | 79cd388c252dd291872e23d8ceb03f676382d7a3 (diff) | |
download | tcl-1ccba0c56984c2bdc4eeb4775e19dcefdd20cc46.zip tcl-1ccba0c56984c2bdc4eeb4775e19dcefdd20cc46.tar.gz tcl-1ccba0c56984c2bdc4eeb4775e19dcefdd20cc46.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].
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | doc/CrtCommand.3 | 7 |
2 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2004-07-16 Andreas Kupries <andreask@activestate.com> + * 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]. + * doc/ChnlStack.3: Removed the declaration that the interp argument to Tcl_(un)StackChannel can be NULL. This fixes [Tcl SF Bug 881220], reported by Marco Maggi diff --git a/doc/CrtCommand.3 b/doc/CrtCommand.3 index 9f53b93..d5f0715 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.6 2004/03/09 12:59:04 vincentdarley Exp $ +'\" RCS: @(#) $Id: CrtCommand.3,v 1.7 2004/07/16 20:46:33 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 |