Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: