Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 53bff0d7ef9eb501c98a7198efe3ba19049272a9f83f08409d3e859a506db31a
Ticket: d7fd37ebd9e64d1a33a8a586dc439fe85a19085f
handling leftover prefix in table encoding
User & Date: jan.nijtmans on 2023-03-19 21:42:19
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Example:
    <pre>
    $ tclsh8.6
    % string length [encoding convertfrom shiftjis \x82]
    0
    </pre>
    
    Most encodings in Tcl 8.6 just pass through left-over bytes as-is. This one is different. So, what should we do here? In the current Tcl 8.7 code, Ashok wrote:
    <pre>
    	 * TODO - this is broken. For consistency with other
    	 * decoders, an error should be raised only if strict.
    	 * However, doing that check cause a whole bunch of test
    	 * failures. Need to verify if those tests are in fact
    	 * correct.
    	 */
    </pre>
    
    That's exactly what this ticket is about.
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "jan.nijtmans"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "jan.nijtmans"
  14. subsystem changed to: "16. Commands A-H"
  15. title changed to: "handling leftover prefix in table encoding"
  16. type changed to: "Bug"