Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fc43f76107e1471f1088705233dd2b1d8c91de75c98e6c3b30c2ba674319e98d
Ticket: 5e6346a252a3e52f764f6a58e7c52cfc72b4a061
Tcl_UtfPrev does not account for rejecting overlong sequences
User & Date: jan.nijtmans on 2020-04-16 19:33:41
Changes

  1. closedate changed to: "2458956.31506684"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    Strange .... This ticket says:  Version: 8.6.7+, how can it be fixed in 8.5  ????  So, actually it was a much more ancient present problem....  :-)
    
    There's a lot of confusion about how Tcl_UtfPrev/Tcl_UtfNext should be have. For valid UTF-8 sequences, it's clear what should be done. For invalid UTF-8 sequences: who cares, since they only can be inserted using (mal-behaving) extensions or the 'identity' encoding. I see no problem merging this forward.
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/plain"