Overview
| Artifact ID: | 469ee75be55a0d5f64838ceec1c4a8f6786704e6f185610ac42ea9aaea657bcc |
|---|---|
| Ticket: | 27c033c4a60a5124c5a593d164ba4d63a7ba3c66
Differences in default operation of encoding between Tcl 8 and 9 |
| User & Date: | apnadkarni on 2023-02-25 05:36:23 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
There is an ongoing debate over the default encoding mode (strict etc.) for Tcl 9. A reasonable argument can be made that compatibility overrides conformance. However, if that is the case the default operation must remain the same between Tcl 8 and 9 with **no** differences. Consider ``` % package require Tcl 8.7a6 % binary encode hex [encoding convertto jis0208 \\] 2129 ``` versus ``` % package require Tcl 9.0a4 % binary encode hex [encoding convertto jis0208 \\] unexpected character at index 0: 'U+00005C' ``` My *belief* is this is by design, not a bug, in that on output (as opposed to input) unless -nocomplain is specified an error is raised for the above. This is not compatible behavior. If an argument is being made to maintain compatibility by default, Tcl 9 should remain compatible with Tcl 8 in the above case. /Ashok
- foundin changed to: "9.0"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
Differences in default operation of encoding between Tcl 8 and 9
- type changed to: "Bug"