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

By that metric, C can't represent ASCII correctly either, because there's no particular reason you couldn't have a NUL character somewhere inside a string.


Indeed it can't. Many developers were bitten by this, and still are; plenty of critical bugs and security vulnerabilities rely on this quirk too.


Technically, C can. It's just C strings that are limited.


Sure, in the exact same way that C can handle unicode just fine too. The problem is, as always, C strings.




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

Search: