James Y Knight wrote: > Hopefully it can be assumed that your locale encoding really is a > non-overlapping superset of ASCII, as is required by POSIX... Can you please point to the part of the POSIX spec that says that such overlapping is forbidden? > I'm a bit scared at the prospect that U+DCAF could turn into "/", that > just screams security vulnerability to me. So I'd like to propose that > only 0x80-0xFF <-> U+DC80-U+DCFF should ever be allowed to be > encoded/decoded via the error handler. It would be actually U+DC2f that would turn into /. I'm happy to exclude that range from the mapping if POSIX really requires an encoding not to be overlapping with ASCII. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4