Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 497e3628bfd67aadd56e9c4c4ca4b00a8517acddfda315d22a40f55e4cedecdd
Ticket: a31caff05780aabdd20a8468673340435862dbf9
encoding command does not allow -strict to be used with -failindex
User & Date: jan.nijtmans on 2023-01-18 10:22:14
Changes

  1. assignee changed to: "jan.nijtmans"
  2. icomment:
    Harald wrote:
    > I have no way out here. But now defining, that (the IMHO toxic "-strict") is implied in "-failindex" makes everything worse and not better
    
    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.
    
    It's just a matter of implementation .....
    
    For "encoding convertfrom", using -failindex without -strict makes no sense.
    
  3. login: "jan.nijtmans"
  4. mimetype: "text/x-fossil-wiki"
  5. resolution changed to: "None"
  6. status changed to: "Open"