4 ms·
That's not ascii then. It's byte width compatible (to a certain degree as you point out). But it's not ascii. ascii defines 128 code points and the handling of
by squeaky-clean 2y ago
That's not ascii then. It's byte width compatible (to a certain degree as you point out). But it's not ascii. ascii defines 128 code points and the handling of an escape character. It doesn't handle locales.
- account42 2y agoASCII is an encoding, it doesn't say anything about locale. The point is that tolower/toupper is not guaranteed to be safe even if the input is 7-bit.
- gpderetta 2y agoI don't think there is any possibility of doing locale specific lower/upper casing in ASCII. It is really designed for (a subset of) American english.