- Don't forget to call
setlocate(LC_ALL, "").
- Just use wide characters. The library doesn't provide many functions for manipulating multibyte characters. The wide character I/O functions will handle multibyte↔wide character conversions(?).
- Wide character literals & string literals are prefixed with L: wchar_t c =
L'a'; wchar_t *p =L"string";`
- Use
%lc or %C and %ls or %S with the wide character versions of printf(). (Are %C & %S standard?)
last updated 1 year ago
#