lua-users home
lua-l archive

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



On 28/05/2014 17:43, Coroutines wrote:
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?

Uhh sequentially... in a loop... or something like that... so I can make this work: https://github.com/SoniEx2/MapCode