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

The standards, as usual for C, are paper-thin, doesn't even guarantee ordinal value for the characters specified (except 0-9) despite implementing strcmp. But GCC/MSVC do add some options on top of the standard, which includes some attempt at interpreting different encodings.

Then again, I was surprised to find support for literal encodings in C23. So perhaps my knowledge was even more outdated than I anticipated.



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

Search: