News for hackers. Stuff that matters.
Re:UTF-8 is a brilliant design by mjevans on Friday September 12, 2025 @08:45PM (#45228310)
They can happen to _be_ Unicode. Composition operations (for fully terminated Unicode strings) should work, but require eventual normalization.

That's the other part of the resume UTF8 strings mid way, even combining broken strings still results in all the good characters present.

Substring operations are more dicey; those should be operating with known strings. In pathological cases they might operate against portions of Unicode bits... but that's as silly as using raw pointers and directly mangling the bytes without any protection or design plans.

There are no comments on this comment yet.