4 ms·
No, they don't. We typically use the UTF-16 functions (with the W suffix).
by abareplace 4y ago
No, they don't. We typically use the UTF-16 functions (with the W suffix).
- jiggawatts 4y agoMore specifically, the 8-bit 'A'-suffixed functions could be used as UTF8, but only on some versions of Windows if, and only if, the system code page is set to use UTF8 instead of the Latin1 (or whatever).
- sqrt_1 4y agoI don't think the system code page needs to be set? https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page https://learn.microsoft.com/en-us/windows/apps/design/global... https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/setlocale-wsetlocale?view=msvc-170&viewFallbackFrom=vs-2019#utf-8-support https://learn.microsoft.com/en-us/cpp/c-runtime-library/refe...