Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e9ddda3d51e48403eb76bc359fda05f1bcba6006ee8b33e44767e45b96787ce9
Ticket: c574e50a3b30e76f6c57bdcf27e043bcd030dbda
CRASH: utf-2.[89] in 8.5 built with TCL_UTF_MAX=4
User & Date: jan.nijtmans on 2020-04-22 15:14:41
Changes

  1. icomment:
    > The "compat85" constraint tests whether Tcl has no way to internally
    > store codepoints > U+FFFF. That is not the same thing.
    
    Since the UCS2 encoding cannot store codepoints > U+FFFF, I liked that name very much for this purpose.  It's different from sizeof(Tcl_UniChar) == 2, since UTF16 has sizeof(Tcl_UniChar) == 2 too.
    
    Would you agree with using another constraint-name for the sizeof(Tcl_UniChar) check?
    
    Sorry for kidnapping your "ucs2" name ...;-)
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"