lua-users home
lua-l archive

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


2015-06-29 7:46 GMT+08:00 Soni L. <fakedme@gmail.com>:
> The manual doesn't seem to specify what utf8.char does if it meets an
> invalid codepoint...
>
> --
> Disclaimer: these emails are public and can be accessed from <TODO: get a
> non-DHCP IP and put it here>. If you do not agree with this, DO NOT REPLY.
>
>

It decribe here[1]:
> This library provides basic support for UTF-8 encoding. It provides all its functions inside the  table utf8. This library does not provide any support for Unicode other than the handling of the encoding. Any operation that needs the meaning of a character, such as character classification, is outside its scope.

[1]: http://www.lua.org/manual/5.3/manual.html#6.5


-- 
regards,
Xavier Wang.