Re:Beware of strncpy and strncat
by loeg on Wednesday June 06, 2018 @04:05PM
(#17250609)
Correct. You can't just truncate a utf-8 stream in an arbitrary byte position and expect it to remain well-formed.
[ Parent
| on HN ]
There are no comments on this comment yet.