I intend to add functions to the standard library in SDCC for easier
conversion of strings between UTF-8 (the multibyte encoding SDCC uses)
and UTF-16 (the encoding SDCC uses for char16_t).

These would be

size_t __mbstoc16s(char16_t *restrict c16s, const char *restrict s,
size_t n);

and

size_t __c16stombs(char *restrict s, const char16_t *restrict c16s,
size_t n);

Do you consider such functions to be useful?

Philipp

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to