|
2023-04-16
| ||
| 16:40 | Merge trunk [69fba9fb6b]: Fix [4bea02e811]: encoding convertfrom -strict ascii \x7f generates exce... check-in: afc62c3848 user: pooryorick tags: trunk-encodingdefaultstrict | |
|
2023-03-22
| ||
| 13:01 | Merge trunk: Fix [4bea02e811]: encoding convertfrom -strict ascii \x7f generates exception Many othe... check-in: 84d5dcc42a user: pooryorick tags: unchained | |
|
2023-02-23
| ||
| 11:05 | • Closed ticket [4bea02e811]: encoding convertfrom -strict ascii \x7f generates ex... artifact: 5c63ebc601 user: jan.nijtmans | |
| 11:00 | Fix [4bea02e811]: encoding convertfrom -strict ascii \x7f generates exception Many other encodings h... check-in: c86a644db8 user: jan.nijtmans tags: core-8-branch | |
|
2023-02-20
| ||
| 20:42 | • Pending ticket [4bea02e811]: encoding convertfrom -strict ascii \x7f generates e... artifact: 8080e7b118 user: jan.nijtmans | |
| 20:41 | Proposed fix for [4bea02e811]: encoding convertfrom -strict ascii \x7f generates exception check-in: 10971c2d97 user: jan.nijtmans tags: bug-4bea02e811 | |
| 13:03 | • New ticket [4bea02e811] encoding convertfrom -strict ascii \x7f generates except... artifact: f9a5ce37db user: apnadkarni | |
encoding convertfrom -strict ascii \x7f generates exception
Closed / Fixed4bea02e8113051c3241a414849163b83e74d36e8Created 4 years agoUpdated 4 years ago
Descriptionmarkdown2023-02-20 13:03:10
% encoding convertfrom -strict ascii \x7f
unexpected byte sequence starting at index 0: '\x7F'
Stepping through the code, the encoding table for ascii maps 0x7F to 0. I haven't looked at how these tables are loaded / generated. Will later if someone already familiar does not.
/Ashok
Referenced by4
afc62c3848Merge trunk [69fba9fb6b]: Fix [4bea02e811]: encoding convertfrom -strict ascii \x7f generates exception Many other encodings had the same problem, and also the reverse happened: encodings which should throw an exception with -strict but didn't (within range 0x80-0x9F). check-in2023-04-16 16:40:3784d5dcc42aMerge trunk: Fix [4bea02e811]: encoding convertfrom -strict ascii \x7f generates exception Many other encodings had the same problem, and also the reverse happened: encodings which should throw an exception with -strict but didn't (within range 0x80-0x9F). check-in2023-03-22 13:01:17c86a644db8Fix [4bea02e811]: encoding convertfrom -strict ascii \x7f generates exception Many other encodings had the same problem, and also the reverse happened: encodings which should throw an exception with -strict but didn't (within range 0x80-0x9F) check-in2023-02-23 11:00:4810971c2d97Proposed fix for [4bea02e811]: encoding convertfrom -strict ascii \x7f generates exception check-in2023-02-20 20:41:00
jan.nijtmanswiki2023-02-20 20:42:27
Good catch!
> Will later if someone already familiar does not.
Well, I happen to be familiar. More examples:
% encoding convertfrom -strict tis-620 \x7f unexpected byte sequence starting at index 0: '\x7F'
But also the other way around, which should throw an exception but currently don't (many cp* encodings):
% encoding convertfrom -strict cp1252 \x81
Proposed fix [here]
jan.nijtmanswiki2023-02-23 11:05:42
Fixed [here]
Thanks for the report!
Log in (anonymous is fine) to add a comment.