Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
akira2501
on Oct 5, 2022
|
parent
|
context
|
favorite
| on:
Text Is the Universal Interface
> How do you identify the end of a Unicode text stream
"Why not just a zero byte?"
falcolas
on Oct 5, 2022
[–]
You'd need 4 of them to avoid ambiguity. The C string delineation model has a lot of issues we probably don't want to keep. :)
rmasters
on Oct 5, 2022
|
parent
[–]
In some encodings? One zero is sufficient for UTF-8.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
"Why not just a zero byte?"