Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fcb2bf120af020354a0d9d795674d56117c92b969359839c770cc85a59bfa1a0
Ticket: a31caff05780aabdd20a8468673340435862dbf9
encoding command does not allow -strict to be used with -failindex
User & Date: pooryorick on 2023-01-20 00:38:32
Changes

  1. icomment:
    In the second case, is the first occurrence of "-strict" an option or an
    encoding name?  If it is known, for example that an encoding name never starts
    with "-", the ambiguity can be resolved, but that's not the case, and therefore
    its unresolvable.
    
    In [6e15578c88cf5750], on the tcl-encodingdefaultstrict branch, I've modified
    [encoding ...] to make the "encoding" argument mandatory so it can handle any
    number of options in any order.  On this branch, "strict" doesn't mean anything
    more than "raise an error on encoding failures".  I think it should mean
    exactly that, and nothing more.
    
  2. login: "pooryorick"
  3. mimetype: "text/x-fossil-wiki"