refactor: bring char8_t to this library.

- add yycc_char8_t and yycc_u8string in code to indicate explicit utf8 char type and string. it also has a polyfill if compiler and library do not support utf8 char type.
- refactor the whole encoding helper. allow converting string with embedded NUL. but not tested.
This commit is contained in:
yyc12345 committed 2024-06-26 21:04:56 +08:00
1 parent bb17bb6a1f
commit c15b57d055
4 files changed
+286 -117

No files matched your search

File renamed without changes.