Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zahlman
· 5mo ago · 0 comments
Zero bytes won't ever be part of a multi-byte character in UTF-8. They simply represent code point 0 (which is valid, but wouldn't appear in normal text) by themselves.
Comments
[–]
echoangle
5mo ago
Ah even better so you can just use null terminated strings