Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c5c809e7bd019e007a25c9956371717e4f1fd881275276b649ef9b05473945a6
Ticket: 048dd20b4171c8da89d94a126e3f98c83178a33d
cesu-8 encoding fails on \u80
User & Date: pooryorick on 2021-06-19 09:05:30
Changes

  1. comment changed to:
    In the following script, a character is unsuccessfully convert to cesu-8 and
    back again:
    
    <code><verbatim>
    set char \u80
    set encoded [encoding convertto cesu-8 $char]
    set decoded [encoding convertfrom cesu-8 $encoded]
    if {$decoded ne $char} {
    	scan $char %c ord1
    	scan $decoded %c ord2
    	puts [list fail $ord1 $ord2]
    
    }
    </verbatim></code>
    
  2. login: "pooryorick"
  3. mimetype: "text/plain"