Y
Hacker News
new
|
ask
|
show
|
jobs
by
zahlman
1 day ago
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.
1 comments
echoangle
1 day ago
Ah even better so you can just use null terminated strings
link