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

Why was `isascii()` removed?

(Listed in the Sortix article linked in OP.)



It would yield false-positives with non-UTF-8 encoded text. Big5 <https://en.wikipedia.org/wiki/Big5#Encoding> in particular was notorious for using ASCII values for trailing bytes. I don't know if it's still in use or if there are others.




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

Search: