Y
Hacker News
new
|
ask
|
show
|
jobs
by
abareplace
1371 days ago
No, they don't. We typically use the UTF-16 functions (with the W suffix).
1 comments
jiggawatts
1371 days ago
More 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).
link
sqrt_1
1371 days ago
I don't think the system code page needs to be set?
https://learn.microsoft.com/en-us/windows/apps/design/global...
https://learn.microsoft.com/en-us/cpp/c-runtime-library/refe...
link