Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 594ed778138b02edf07fe0b7d0c4962ea9f9976c0d216077734d829f121422ab
Ticket: 3de6490777c6dae1c9734f6bc970ff920f1e1869
Remove [string is unicode]
User & Date: pointsman on 2023-12-22 01:49:32
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. 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.
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "pointsman"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "4ca203a8e925aecdd9419645f936bccf18cd6ea7"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "pointsman"
  14. subsystem changed to: "18. Commands M-Z"
  15. title changed to: "Remove [string is unicode]"
  16. type changed to: "RFE"