lua-users home
lua-l archive

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


On Wed, May 28, 2014 at 1:38 PM, Thiago L. <fakedme@gmail.com> wrote:
> So is there a fast way to parse stuff like \x00 \x7F \xC0 \x80 \xFF \x80
> \x80 \x80 \x80 \x80 \x80 \x80 into 0x0 0x7F 0x0 0x0? (basically an UTF-8
> where everything is valid)

How do you want to parse it?  For what purpose?