lua-users home
lua-l archive

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


> I think I'll take the utf8.strip() proposal back -- it looks like this
> utf8 library doesn't check that strings are valid utf8.  It makes sure
> the byte sequence fits the form of a utf8 codepoint, but it doesn't
> take into account things like unused codepoints or overlong encodings.

Some functions do check for invalid encodings. See the documentation.

-- Roberto