Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
abareplace
on Sept 20, 2022
|
parent
|
context
|
favorite
| on:
It's time to halt starting any new projects in C/C...
No, they don't. We typically use the UTF-16 functions (with the W suffix).
jiggawatts
on Sept 20, 2022
[–]
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).
sqrt_1
on Sept 20, 2022
|
parent
[–]
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...
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: