Points to remember

When working with international character data:

  • All Tcl scripts must follow Tcl 8.4 conventions.
  • The system exchanges binary data with Tcl 8.4 only, that is, channel input/output in Tcl scripts must be binary. This permits the system to work with both "Unicode aware" and "non-Unicode aware" Tcl scripts.
  • All existing Tcl 8.0 scripts, for example, non-Unicode aware, can be reused as-is with minor changes. The channel input/output must be in binary.
  • You must programmatically convert binary data into Unicode to take advantage of Tcl 8.4’s Unicode support.
  • Some literal strings might not be valid in Tcl scripts.
  • There is automatic support for encoding conversion in XML.
  • Non-ASCII characters are not permitted as XML tags.