Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: eef87c5f55dc8a4a41a62850d38feb95983b4c2e
Ticket: 3085863fffffffffffffffffffffffffffffffff
tclUniData 9 years old
User & Date: lars_h on 2010-10-12 11:52:18
Changes

  1. assignee changed to: "nijtmans"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    It seems the tables in tclUniData.c (i.e., what class the various characters belong to) are based on a UnicodeData.txt file that is at least 9 years old, since they have been unchanged for at least that long. This means for example \u0220 (LATIN CAPITAL LETTER N WITH LONG RIGHT LEG) is not considered to be alphabetic by Tcl
    
    % string is alpha \u0220
    0
    
    despite it being listed as having class Lu in http://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt.
    
    A possible factor could be that tools/uniParse.tcl states its input should be the file
    
      ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData-Latest.txt
    
    which doesn't exist anymore; there is only a UnicodeData.txt which presumably serves the same purpose.
    
    Another factor could be worry that updating these tables could reopen the "Unicode beyond \uFFFF" can of worms, but the CVS comments for tclUniData.c v1.4 says it was generated from the UnicodeData.txt for Unicode 3.1.0, and (if I recall it correctly) that is precisely the first version that added non-BMP characters, so we've already jumped that particular bullet.
    
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "lars_h"
  10. subsystem changed to: "44. UTF-8 Strings"
  11. title changed to: "tclUniData 9 years old"
  12. type changed to: "Bug"