lua-users home
lua-l archive

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

in lutf8lib.c, line 72, the function u_posrelat() is called with 1 as
2nd parameter instead of len.

In my point of view, utf8.len('') and utf8.len('A', 2) should return 0
(the length of an empty string) instead of raises an error "initial
position out of string".