Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7bd79b5497eebd429fdf9847009fe7ec6539312e
Ticket: 1004065fffffffffffffffffffffffffffffffff
UTF-8 encoding crashes in UCS-4 mode
User & Date: loewis on 2004-08-06 15:50:59
Changes

  1. icomment:
    Logged In: YES 
    user_id=21627
    
    For the case of TCL_UTF_MAX==6 (which I refer to in this
    report), there is no need for surrogates: They can be
    represented just using a four-byte integer.
    For the two-byte Unicode case, you have two options:
    - use surrogates, or
    - explicitly don't support surrogates, and non-BMP characters
    
    In the latter alternative, you essentially would tell people
    that they need a four-byte Unicode installation if they want
    non-BMP characters.
    
    Of course, there will be additional issues externally, e.g.
    when trying to pass non-BMP characters to the GUI platform
    in Tk, when finding appropriate fonts, etc.
    
    
  2. login: "loewis"
  3. mimetype: "text/plain"
  4. username: "loewis"