Is there a macro that tells you what encoding C++ is using for its wchar_t type? I am currently stuck to GNU and clang. I am guessing UTF32 because my wchar_t has a size of 4 bytes. Although it could be UTF-16, it also uses 4 bytes for some code-points.
But then there is still the problem of UCS-4 or UTF-32LE or UTF-32BE.
Any help/expertise on this topic?