lua-users home
lua-l archive

Re: Changes in the validation of UTF-8

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2019年03月18日 9:49 a.m., Roberto Ierusalimschy wrote:
I noticed the new commit that adds support for longer (deprecated in
2003) utf8 sequences:
https://github.com/lua/lua/commit/1e0c73d5b643707335b06abd2546a83d9439d14c
I'm curious why this changed? It seems like a backwards step to me.
Why is rejecting surrogates a backwards step? Did you (or anyone else
in this discussion) bother reading the new documentation?
-- Roberto
Thank you for this change, for I can now use utf8 as a 31-bit varint library.

AltStyle によって変換されたページ (->オリジナル) /