3 ms·
Parsing UTF-8 is not much harder than parsing ASCII unless you're doing something weird like relying on codepoint indices for absolute file locations, which is
by duped 5y ago
Parsing UTF-8 is not much harder than parsing ASCII unless you're doing something weird like relying on codepoint indices for absolute file locations, which is great for a toy and really weak design for a production parser.
- rurban 5y agoSo why nobody is doing it right then, still? Everybody is prone to Unicode confusables attacks, and almost nobody checks for invalid chars. Almost nobody can search Unicode strings, almost nobody implemented identifiable identifiers.
- wruza 5y agoWhat could be a correct counter argument to this?
- vintermann 5y agoI don't know, but not going back to ISO-8859-15, that's for sure.
- rurban 5y agoFix the implementations.