lua-users home
lua-l archive

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


In learning lua, suddenly met this:

> utf8.codepoint("résumé", 1,2)
114	233

> utf8.codepoint("résumé", 1,3)
114	233

> utf8.codepoint("résumé", 1,4)
114	233	115


> utf8.len("résumé")
6

Any crystal clear explanation ?