lua-users home
lua-l archive

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


One correction to docs:

utf8.len docs say:

"If it finds any invalid byte sequence, returns a false value plus the position of the first invalid byte."

It actually seems to return nil (which is of course evaluated as false when not compared equality to false).

Regards
Aapo