|
|
|
|
|
by jhallenworld
3778 days ago
|
|
Annoyingly, there is no simple user accessible UTF-8 decoder in libc. The only standard way to use iswalpha is to convert to wchar_t first. One hack is to assume that bytes of UTF-8 encoded strings above 127 are all letters. It mostly works :-) |
|
Am I misunderstanding you, because I've always thought that's what the mbtowc(3) family of functions was?