I wish you would give an example instead of just proclaiming crapness. You know, so we n00bs can learn something.
I wish you would give an example instead of just proclaiming crapness. You know, so we n00bs can learn something.
Sorting of strings is language dependent, but I don't know that there's a defined order for mixed language lists, so I guess user's context works if you're sorting for user purposes, but if you're sorting for machine purposes, you better not use the locale aware sort without telling it a hardcoded locale that doesn't change between localization library versions.
The flaw in Unicode is that it punts on the intrinsic complexity---pretending that codepoints have language-independent, plain-text, semantic meaning.
A couple of threads that have molded my views over time:
I can't write my name in Unicode https://news.ycombinator.com/item?id=9219162 (Specifically these two comments https://news.ycombinator.com/item?id=9220530 and https://news.ycombinator.com/item?id=9220970)
Why isn't the external link symbol in Unicode? https://news.ycombinator.com/item?id=23016832
> Pretending "plain text" isn't an oxymoron
FTFY :)
E.g. lookalike charaters, and social engineering by using a vs а. (One is Cyrillic). I don't want to even define "a == а". I want Latin and Cyrillic to be different types of characters, and that expression to be ill-typed.
This solves the Turkish problem, where the upper case I is two different charters in two different types (Turkish Roman script?), and the case folding functions likewise have disjoint types.
How do you concatenate English and Ру́сская text, and what is the type of this sentence?
;)