4 ms·
By converting to uppercase you lose information. There's no magic way to avoid this, unless you store the original. Greek also has this problem with stress acce
by netmare 8y ago
By converting to uppercase you lose information. There's no magic way to avoid this, unless you store the original. Greek also has this problem with stress accents. For example, both "γέρος" (old man) and "γερός" (strong) become "ΓΕΡΟΣ" in upper case. Case round-tripping isn't available in all languages.
- zokier 8y agoLossiness is not the (whole) problem here. Bigger issue is the locale-dependence: in Turkish locale i->İ and ı->I, while in the rest of the world i->I. So it actually would be better if case conversation was lossy in this case. This is further excarberated by the fact that 'i' is in basic ASCII and widely used