![]() |
![]()
| ![]() |
![]()
NAMEutf8kind - Quick check an offset into a string SYNOPSISstate
DESCRIPTIONBuilt-in support for internationalized strings is fairly rudimentary, although the render_text class of functions handle UTF 8 internally, no such support has been mapped into the built-in LUA VM . This function is a quick helper to determine if you're about to corrupt a UTF -8 string or not. state values: 0 = 7bit character, 1 = start of char, 2 = middle of char. NOTES
EXAMPLEfunction utf8kind0()
|