Overview
| Artifact ID: | e0c0a2112dba5a9f3b59324dc1a8c565edd51a72ce369d2a25a6edfb4079753b |
|---|---|
| Ticket: | 1213da116603694f3d1b3199d96142568721cf26
TIP #601 text should not suggest that "-strict" is the default |
| User & Date: | pooryorick on 2023-02-08 22:38:17 |
Changes
- icomment:
This attempt to hack TIP 601 is an attempt to subvert the intent of TIP 601 by drawing an artificial distinction between byte conversion and character conversion for no reason other than to create enough of a loophole to allow TIP 346 to break out of version 8.7 and infect 9.0 as well. Furthermore, this hack attempts to change the semantics of TCL_ENCODING_NOCOMPLAIN so that it does something quite different than it originally did. TIP 601 made encoding errors script errors. That was the intent of it, and that's the way it should remain. The "-strict" option has no business in Tcl version 9.0, except perhaps as a result of some new TIP that gives it new semantics. TIP 601 should be updated via a new TIP, not by hacking it up. TIP 346 is the TIP that has the real problems. On the one hand, it proposes an option, "-strict" to make Tcl 8.7 behave like Tcl 9.0 by making encoding errors script errors. On the other hand, it proposes an option, "-strict", to make changes to Tcl's utf-* encoders/decoders. These two changes are orthogonal, and combining them into one TIP, and further into a single option, has caused all sorts of trouble. TIP 346 should be withdrawn and replaced by at least two separate TIPs.
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"