Skip to content
Tcl Source Code Changes To Migrating scripts to Tcl 9
Login

Changes To Migrating scripts to Tcl 9

Changes to "Migrating scripts to Tcl 9" between 2024-07-29 12:40:48 and 2024-08-15 17:51:10

1
2
3




4
5
6
7
8
9
10
1
2

3
4
5
6
7
8
9
10
11
12
13


-
+
+
+
+







Work in progress...
Currently focused on incompatibilities. Possibly hints on improving
scripts making use of new facilities could be added at some point
scripts making use of new facilities could be added at some point.

The [migration tool](https://github.com/apnadkarni/tcl9-migrate) may help
identify some of these issues. [Download](https://github.com/apnadkarni/tcl9-migrate/releases)

## Strict handling of ill-formed encoded data

Conceptually, Tcl strings are a sequence of Unicode code points. These strings
are converted to and from external encodings via channel I/O or explicit use of
the `encoding` command. The behavior of Tcl has changed in Tcl 9 in the presence
of ill-formed encoded data in input streams or if output streams encodings do
︙