Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 64de68763526ab0e6264db71a37776b53e19d2c947b1a8b6d914fb801f0fe5ff
Ticket: 9575f0dec854ee0a7fb6e7edc9e351b9f3ae194f
http::CharsetToEncoding: map GB18030 to GB2312
User & Date: jan.nijtmans on 2020-11-18 10:41:24
Changes

  1. closedate changed to: "2459171.94541904"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    Well, how about TIP #389 then? In Tcl 8.7 we can use characters > U+FFFF by storing them as surrogate pairs. So a single (multibyte) character could result in 2 surrogates. That's not possible now, with the current "*.enc" files.
    
    Currently there are 4 types of "*.enc" files: Single-byte ("S"), double-byte("D") escape-driven("E") and multi-byte("M"). So, we would need a 5th type (e.g. "U"), I don't see why that wouldn't be possible.
    
    For Tcl 9, we have 32-bit characters, but still we would need the same additional format: we cannot do it with the existing "*.enc" files.
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"