Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
vortico
on April 15, 2020
|
parent
|
context
|
favorite
| on:
UTF-8 Everywhere
What is this C++ `narrow()/widen()` function mentioned in the Windows section? At the risk of asking to be spoonfed, can someone give the source code of a function that takes a UTF-8 `std::string` and gives a UTF-16 `std::wstring`?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: