Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 832431af7c04477c4d821c9f07322e38cd0289a0abf1e18bd9aeef0ae7af058f
Ticket: 69634d51fb74551bb4dfcd0b4e9097679e8f4a05
handling out of range UCS4 values
User & Date: jan.nijtmans on 2020-04-30 15:03:33
Changes

  1. icomment:
    > Can we not count on our processing to produce results already valid and already clear of any of those extension bits?
    
    No we cannot since the UNICODE_OUT_OF_RANGE(), GetUniCharInfo(), GetCaseType() and GetDelta() all do their own masking with 0x1FFFFF already. If we use the additional bits as flags - in the future - then we don't want to see our flags back in the output. That's why we need to mask them away ourselves, the macro's don't do it.
    
    So - please - leave it as-is for now. I'll write a TIP how to handle locale-dependant Tcl_UniCharToUpper() (for e.g. Turkish, I have some ideas on that ...), but it's not high prio now so it might take a while.
    
    Thanks!
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"