Overview
| Artifact ID: | 61b8cdf72ff8bbe3ae719c0339cb0c466d926d87a1250f70d606ab5062e3ae87 |
|---|---|
| Ticket: | a31caff05780aabdd20a8468673340435862dbf9
encoding command does not allow -strict to be used with -failindex |
| User & Date: | apnadkarni on 2023-01-18 10:50:14 |
Changes
- icomment:
> For "encoding convertfrom", using -failindex without -strict makes no sense. Not the case. As I wrote on the mailing list, % encoding convertfrom -failindex i utf-32 \x41\x00\x00\x00\x7f\xff\xff\x7f A % set i 4 As expected. Thus cannot have -failindex imply -strict. In particular, when you want the default semantics (allow invalid bytes, surrogates etc.) but not "out of range" code points, and want the failing index, not an exception. Whether this is useful or not is a different question but the way semantics are currently defined, I don't think -failindex can imply -strict. /Ashok
- login: "apnadkarni"
- mimetype: "text/plain"