2 ms·
For the u8 type sure. Nobody needs a new type. But at least add wcsnorm and wcsfc as I implemented them in the safeclib are required. Not even coreutils, grep,
by rurban 7y ago
For the u8 type sure. Nobody needs a new type.
But at least add wcsnorm and wcsfc as I implemented them in the safeclib are required. Not even coreutils, grep, awk, ... can search unicode strings.
And u8 library variants of str* and wcs* are definitely needed, maybe just with uchar* not char*.
- DougGwyn 7y agoWhy would the utilities not handle unicode searching? Unicode characters match properly, the null terminator works the same, and non-ANSI codes are just one or more random 8-bit values which can be compared, copied, etc.