2 ms·
But just adding the null byte isn’t necessarily safe if you’re dealing with Unicode, right?
by MBCook 8y ago
But just adding the null byte isn’t necessarily safe if you’re dealing with Unicode, right?
- loeg 8y agoCorrect. You can't just truncate a utf-8 stream in an arbitrary byte position and expect it to remain well-formed.