2 ms·
Null-terminated UTF-8 could be a type but in most languages that use such a construct it is not, and those languages where it could be a type, the designers are
by fleitz 15y ago
Null-terminated UTF-8 could be a type but in most languages that use such a construct it is not, and those languages where it could be a type, the designers are usually smart enough not to make such a type.
A null terminated UTF-8 string type gets into interesting territory when you want to add multibyte characters AND have a valid type at the same time.