Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e7d1c9417a9d790ed482bc3a324fb570266f98f55e2e728cc00ae95c954fc338
Ticket: a31caff05780aabdd20a8468673340435862dbf9
encoding command does not allow -strict to be used with -failindex
User & Date: oehhar on 2023-01-19 12:22:28
Changes

  1. icomment:
    Well, as long as there are no encoding names equal to an option name or its abreviation, it can be sorted out (data is "-strict"):
    
       *   encoding convertfrom -nocomplain -strict
       *   encoding convertfrom -nocomplain -strict -strict
       *   encoding convertfrom -nocomplain utf8 -strict
       *   encoding convertfrom -failindex abc -strict
       *   encoding convertfrom -failindex abc utf8 -strict
       *   encoding convertfrom -failindex abc -strict -strict
       *   encoding convertfrom -failindex abc -strict utf8 -strict
    
    So, case 2 and 3 are ambiguous on the positioning, requiring to check, that the encoding name is "-strict".
    This is not beautiful but doable.
    
    Am I missing something?
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"