Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3e7993b2628c85097cbb92d12630cc3eedb3c3a7fd470f32e5109ecf8b1da72c
Ticket: c574e50a3b30e76f6c57bdcf27e043bcd030dbda
CRASH: utf-2.[89] in 8.5 built with TCL_UTF_MAX=4
User & Date: jan.nijtmans on 2020-04-20 22:29:29
Changes

  1. icomment:
    
    > Is there anything else worth thinking about?
    
    One more:
    
    [E] Only 3-byte sequences supported. Internal store as UTF-16.
    
    This is almost the same as [A], the difference is in the translation to the internal store. [A] lets every invalid 4-byte UTF-8 sequence occupy 4 locations in the store, one for every byte (not really sensible ...). [E] stores invalid 4-byte UTF-8 sequence in 2 locations, namely the two surrogates. The translation from internal store back to UTF-8 is identical to [A]. For valid 1-, 2- or 3-byte UTF-8 sequences [E] behaves exactly the same as [A].
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"