3 ms·
Im really starting to hate the internet more and more every day. You say validating unicode is not trivial, and mention using a parser which can contain bugs.
by ActorNightly 6y ago
Im really starting to hate the internet more and more every day.
You say validating unicode is not trivial, and mention using a parser which can contain bugs.
Or, you can just look at the specification like this one:
https://docs.oracle.com/cd/E18283_01/server.112/e10729/appunicode.htm https://docs.oracle.com/cd/E18283_01/server.112/e10729/appun...
And easily write your own validator to check against valid byte ranges.
Ill just leave this conversation with "Agree to Disagree".
- Nursie 6y agoThe point is it's not as trivial as you say, and there's more to safety than pure input validation. The author's point was that even people who think they're doing it right don't catch everything. If you think you do then I wish you the best of luck, but I also wouldn't want to work on safety-critical systems with you.