-
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
Description
C18 thought about adding the char8_t type, to match the new u8 string prefix: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2231.htm
They only wanted to add some converters mbrtoc8, c8rtomb, no other functions for char8_t, instead of the ASCII str and widechar wcs variants.
80% use UTF-8, not widechar. wcs only makes sense on windows, everywhere else u8 won.
Think of adding u8 variants for all functions (disabled by default).
look at julia's utf8lib and utf8.h (which is not as good).
Reactions are currently unavailable