4 ms·
>- utf8 library accepts codepoints up to 2^31 Interesting. Didn't Unicode restrict UTF-8 to allow encoding only 21 bits? Does it mean that it can now do 6 byte
by akklesed 7y ago
>- utf8 library accepts codepoints up to 2^31
Interesting. Didn't Unicode restrict UTF-8 to allow encoding only 21 bits? Does it mean that it can now do 6 byte UTF-8 encodings? What kind of restrictions did it have before?
- zamadatix 7y agoComparing the documentation seems to verify this easily: - https://www.lua.org/manual/5.3/manual.html#6.5 https://www.lua.org/manual/5.3/manual.html#6.5 - https://www.lua.org/work/doc/manual.html#6.5 https://www.lua.org/work/doc/manual.html#6.5
- kzrdude 7y agoI don't see how this is a good change, it's like, back to 1994 utf-8