4 ms·
> We can make an analogy here to UTF-8. Let's pretend that "character" means "valid multi-byte UTF-8 code" and "code point" means "byte". That's not the usual
by mseepgood 4y ago
> We can make an analogy here to UTF-8. Let's pretend that "character" means "valid multi-byte UTF-8 code" and "code point" means "byte".
That's not the usual terminology. For UTF-8 the "valid multi-byte UTF-8 code" is the "code point" and the byte is the "code unit".
- tuukkah 4y agoIt was an analogy: not all bytes in UTF-8 have a meaning but some do.