[I18n-sig] Re: Unicode debate

Fredrik Lundh fredrik@pythonware.com
Thu, 4 May 2000 15:21:25 +0200


Guido van Rossum <guido@python.org> wrote:
> Thanks -- but that's really Tcl's fault, since the only way to get
> character data *into* Tcl (or out of it) is through the UTF-8
> encoding.

from http://dev.scriptics.com/man/tcl8.3/TclLib/StringObj.htm

    Tcl_NewUnicodeObj(Tcl_UniChar* unicode, int numChars)

    Tcl_NewUnicodeObj and Tcl_SetUnicodeObj create a new
    object or modify an existing object to hold a copy of the
    Unicode string given by unicode and numChars.

    (Tcl_UniChar* is currently the same thing as Py_UNICODE*)

</F>