Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0b853849d2f65c6122458fa2cc679023bc5c7f0a
Ticket: 3396731fffffffffffffffffffffffffffffffff
inline string reverse
User & Date: nijtmans on 2011-08-23 06:59:42
Changes

  1. assignee changed to: "nijtmans"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The TclStringObjReverse function (in tclStringObj.c) does
    a complicated job: If the object contains no unicode, the
    reverse is done in-place, but otherwise a Unicode string
    representation is formed and that is reversed in stead.
    
    Much simpler is: reverse the individual bytes from the
    UTF-8 characters first in-place, and then reverse the bytes
    of the whole string. The individual bytes of the UTF-8
    representation will then be correct again, and this
    can always be done inline.
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nijtmans"
  10. subsystem changed to: "44. UTF-8 Strings"
  11. title changed to: "inline string reverse"
  12. type changed to: "RFE"