Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 00c0e4caa8f9ea12e83fec5a2eacc352c54333cb94b4369a95e2af47b8c709e3
Ticket: fc4393e9b04b2573642251a6aeaf06468339cd55
UnicodeToUtfProc bogus in [edce885a5c]
User & Date: jan.nijtmans on 2019-12-07 17:38:51
Changes

  1. assignee changed to: "jan.nijtmans"
  2. closedate changed to: "2458825.23531835"
  3. closer changed to: "jan.nijtmans"
  4. icomment:
    There are test-cases in encoding.test, which test for the "unicode"  encoding being 16-bit. On the TCL level, we cannot break compatibility, so the "unicode" encoding always needs to be equivalent to utf-16, we cannot change that, never! Agreed, "unicode" is a bad name for an encoding, that's why it's deprecated now.
    
    If you want a UCS-4 encoding, then add one under a separate name and use that, that's the way to go forward. Or (since Androwish in TCL_UTF_MAX=6 mode is already binary incompatible with Tcl) simply don't take over this change in Androwish. But then you'll have to deal with this when makeing the transition to 8.7.
    
    In Tcl 8.7, "unicode" is already equivalent to "utf-16". Check-in [edce885a5c] is basically a backport of part of the TIP #547 implementation, so it -actually - already in use for a long time in the core-8-branch.
    
    Sorry I have no better news :-(
    
  5. login: "jan.nijtmans"
  6. mimetype: "text/x-fossil-wiki"
  7. resolution changed to: "Invalid"
  8. status changed to: "Closed"