lua-users home
lua-l archive

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


What about string.byte and string.char?

string.byte is documented as returning "the internal numerical code of the 
i-th _character_ of s".

Would that mean the 16-bit (32-bit?) Unicode value for the i-th Unicode 
character, or the (probably 8-bit) value of the i-th raw byte?

(same as above, in reverse perspective, for string.char)

  Enrico