Tcl interpreters

Multiple Tcl interpreters are maintained by the system. These are used to run user Tcl scripts or to perform engine-specific processing. As part of these operations, the system moves data into and from Tcl interpreters.

In all cases, the system moves data in binary form across the interface with the Tcl interpreter. Within the Tcl interpreter, if this binary data is processed in a String context, Tcl performs the default encoding conversion from ISO8859-1 to UTF-8. You can precede a string context operation on the data with an explicit encoding convertfrom operation specifying the actual source encoding. If no string operations are performed on the data when it is in the interpreter, then encoding conversion is not performed.