3 ms·
Right, but the only reasonable way to localize `isspace()` is to have it based on code units / encoding bytes, since that is what it will be used for. When peop
by Sprocklem 3y ago
Right, but the only reasonable way to localize `isspace()` is to have it based on code units / encoding bytes, since that is what it will be used for. When people want to test a unicode code point they instead call `iswspace()` (or a non-standard but more-sane version thereof).
- kps 3y agoMy unverified assumption is that MacOS's behaviour here descends from NeXTStep, which used UCS-2.