Overview
| Artifact ID: | 594ed778138b02edf07fe0b7d0c4962ea9f9976c0d216077734d829f121422ab |
|---|---|
| Ticket: | 3de6490777c6dae1c9734f6bc970ff920f1e1869
Remove [string is unicode] |
| User & Date: | pointsman on 2023-12-22 01:49:32 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
Current tcl trunk still includes the [string is] class "unicode", although this class is not mentioned in the documentation. Instead of fixing this omission I propoose to remove the functionality. The comment of the implementation describes in words what the code does: * Excluded are: * 1) All characters > U+10FFFF * 2) Surrogates U+D800 - U+DFFF * 3) Last 2 characters of each plane, so U+??FFFE and U+??FFFF * 4) The characters in the range U+FDD0 - U+FDEF That means? Well, any non unicode character (including Surrogates). Sensible, so far. But then also some other (valid) unicode character more for not stated reason. At latest with the agreement that the Tcl utf-8 en-/decoder will behave according to the unicode understanding the class "unicode" has no practical relevance. On top comes that such an at best marginal useful feature has such a prominent name. Most skilled programmers educated with other programming languages would with reasons expect something else than what that class does.
- foundin changed to: "9.0"
- is_private changed to: "0"
- login: "pointsman"
- priority changed to: "5 Medium"
- private_contact changed to: "4ca203a8e925aecdd9419645f936bccf18cd6ea7"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "pointsman"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "Remove [string is unicode]"
- type changed to: "RFE"