@dalias i found https://beej.us/guide/bgc/html/split/unicode-wide-characters-and-all-that.html earlier and it says:
are values in these stored in UTF-16 or UTF-32? Depends on the implementation.
But you can test to see if they are. If the macros __STDC_UTF_16__ or __STDC_UTF_32__ are defined (to 1) it means the types hold UTF-16 or UTF-32, respectively.