Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5ecd6fba9accde4ec58e0daa958fb92bf1b4d9450258a7908d233e9746e95482
Ticket: 63325009a85c176310f2ee2cc3a2ba22cf442a7b
\u0400 conversion to and from cesu-8 fails.
User & Date: pooryorick on 2024-09-13 18:43:13
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    The following script,
    
    <code><verbatim>
    set char \u0400
    set converted [::encoding convertto cesu-8 $char]
    set back [::encoding convertfrom cesu-8 $converted]
    </verbatim></code>
    
    results in the error, 
    
    <code><verbatim>
    unexpected byte sequence starting at index 0: '\xE0'
    </verbatim></code>
    
  5. is_private changed to: "0"
  6. login: "pooryorick"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "4af4a129d898f61229bf9e9ccfc76926e0d0d460"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "pooryorick"
  13. subsystem changed to: "11. Conversions from String"
  14. title changed to: "\u0400 conversion to and from cesu-8 fails."
  15. type changed to: "Bug"