Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
satoru42
· 2y ago · 0 comments
This doesn't work if you use utf-8 instead of ascii.
Comments
[–]
phyzome
2y ago
Sure it does. UTF-8 is constructed such that characters from lower ASCII have the identical 1-byte encoding. You might be thinking of UTF-16 or UTF-32, or non-ASCII characters...