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

Wchar_t is definitely the biggest annoying difference in that it shows up everywhere in your C/C++ source code.


It depends on what you're doing, but after many years I've just settled on consistently using UTF-8 internally and converting to UCS-2 at the edges when interacting with Win32.

There's just too much UTF-8 input I also need to take, and converting those to wstring hurts my heart.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: