[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.3.0 (work2) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 22 Mar 2014 15:33:18 -0300
> 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.