Comment by nradov
21 hours ago
Were you not using static analysis tools? All of the popular ones will warn about that issue with locales.
21 hours ago
Were you not using static analysis tools? All of the popular ones will warn about that issue with locales.
They do. But a generic warning about locale-dependence doesn't really tell you that ASCII-strings will be broken. For nearly every purpose ASCII is the same in every locale. If you have a string that is guaranteed to be ASCII (like an enum constant is in most code styles), it's easy to think "not a problem here" and move on.