Overview
| Artifact ID: | 72ee2d2cb0fb91fb393150a2e8b721361d4a8d3a9dd199baa1a31499ae1d74c3 |
|---|---|
| Ticket: | a31caff05780aabdd20a8468673340435862dbf9
encoding command does not allow -strict to be used with -failindex |
| User & Date: | jan.nijtmans on 2023-01-20 12:01:26 |
Changes
- icomment:
TIP #346 mentions: "This **-strict** option cannot be combined with the already existing **-nocomplain** and **-failvar** options". Now it's becoming clear that it's necessary to allow **-strict** and **-failvar** to be used together (see title of this issue!). That doesn't make TIP #346 completely bogus, it's something that can be corrected. That's what this ticket is about. Proposed fix [here](https://core.tcl-lang.org/tcl/info/86893e2b40d36b0e) A consequence of TIP #601 (and also of TIP #346) is that the proposed syntax: <pre> encoding convertfrom ?-nocomplain? ?encoding? data encoding convertto ?-nocomplain? ?encoding? data </pre> makes the ?encoding? argument ambiguous: You cannot have encodings like "-n" or "-noc" any more, it would be interpreted as "-nocomplain" and ?encoding? will get the default value (the system encoding). Is that a problem, does it make TIP #601 bogus? I don't think so. No existing encoding start with "-". - login: "jan.nijtmans"
- mimetype: "text/x-markdown"