Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
guerrilla
· 2y ago · 0 comments
Why was `isascii()` removed?
(Listed in the Sortix article linked in OP.)
Comments
[–]
oguz-ismail
2y ago
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.