pub fn open_utf8(state: &mut LuaState) -> Result<usize, LuaError>
Open the utf8 library.
utf8
Registers all functions from FUNCS into a new table, then sets utf8.charpattern to the byte-string pattern matching one UTF-8 sequence.
FUNCS
utf8.charpattern