New packages edit
New Tcl commands edit
New Tcl subcommands edit
Expanded syntax/new options edit
fconfigure channel ?... -encoding ...?New Tcl global variables edit
- tcl_platform(user)
Changed behavior edit
Characters are now conceptually Unicode characters, not 8-bit characters in whatever the local machine encoding happens to be.- \ooo, \xhh, and \uhhhh escapes indicate Unicode character values.
- [format %c] converts to Unicode; no longer limited to 8 bits.
registry get HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\[info tclversion] RootAdvanced regular expressions. See regexp(n). The changes result in incompatibilities at the C API as well as potential incompatibilities in regular expressions.Expanded scan functionality, including XPG3. See scan(n).New C-API'sTcl_SaveResult, Tcl_RestoreResult, Tcl_DiscardResult.Use these if you have to use the interpreter result for communication with a Tcl script (f.e. called from the C-level), but don't want to trash the current result as your caller might rely on it.AK
Donald Porter