27 ms·
isalpha() works with the "C" locale unless you first call setlocale(). For example, on my system isalpha(0xe7) is true if I first call setlocale(LC_ALL, "en_US
by _kst_ 5y ago
isalpha() works with the "C" locale unless you first call setlocale().
For example, on my system isalpha(0xe7) is true if I first call setlocale(LC_ALL, "en_US.iso88591").
- jcelerier 5y agowell, yes, in "normal" C programs you're supposed to fetch the locale from the user's env vars (with setlocale (LC_ALL, ""))