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

What are you talking about, there is actually too much unicode awareness in C++. Unicode is not the same thing as utf-8. And, frankly, no language does it right, I'm not even sure "right" exists with Unicode


Too much unicode in standard C++? Where?


c++20's u8strings took a giant steaming dump on a number of existing projects, to the point that compiler flags had to be introduced to disable the feature just so c++20 would work with existing codebases. Granted that's utf-8 (not the same thing as unicode, as mentioned) but it's there.


And yet, unicode support is still abysmal throughout the standard library. I don't disagree though.


Things like char32_t, std::u32string for storing UTF-32 characters.


And yet, none of them work with std::regex etc.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: