4 ms·
But NUL is not used by UTF-8 (by design, of course) so that cannot be a problem.
by unwind 8y ago
But NUL is not used by UTF-8 (by design, of course) so that cannot be a problem.
- taejo 8y agoU+0000 is a unicode character, which is encoded as 0x00 in UTF-8
- masklinn 8y agoNot sure why you'd think that, NUL is a perfectly valid, supported and usable character in unicode, and thus UTF8.
- kibwen 8y agoAny implementation of strings that cannot contain 0x0 is not a conformant implementation of UTF-8. It's not a conformant implementation of ASCII either, for that matter. C strings are neither (not that they claim to be).
- paulddraper 8y agoIt's been a character since the earliest Unicode. https://www.fileformat.info/info/unicode/char/0000/index.htm https://www.fileformat.info/info/unicode/char/0000/index.htm