Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

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

  1. comment changed to:
    In the following script, a character is unsuccessfully converted 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"