Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d648a0e258180ae6ae8cbfb7ccd54b91e5e4289d
Ticket: 2564363fffffffffffffffffffffffffffffffff
string equality testing does not cover encoding variants
User & Date: jenglish on 2009-02-05 07:50:31
Changes

  1. icomment:
    > The core problem is that Tcl has not
    > made up its mind whether such variants
    > are to be accepted or rejected.
    
    My vote: rejected.  More specifically: invalid UTF-8 octet sequences as a Tcl_Obj* string value  leads to undefined behavior.  (Not an error, _undefined behavior_. Tcl should not be required to detect such conditions, either.)
    
    And [encoding convertfrom identity] has to go.
    
    
    
  2. login: "jenglish"
  3. mimetype: "text/plain"
  4. username: "jenglish"