Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ae061e7ff8f61c220ac7ff592d5c3863a6708ef3f73943bb81344d2feba01e5a
Ticket: a31caff05780aabdd20a8468673340435862dbf9
encoding command does not allow -strict to be used with -failindex
User & Date: oehhar on 2023-01-18 11:13:55
Changes

  1. icomment:
    Jan, thank you for your text:
    
    <verbatim>
    I see a way out here: without "-strict" the "encoding convertto -failindex pos utf-8" should only check for invalid byte sequences, nothing more. Adding "-strict", then it should check for surrogates too. Then the examples in the TIP #607 will work again as described in the TIP, and -strict will work as expected as well. 
    </verbatim>
    
    I totally agree, thank you!
    
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"