[utf8] type = 'table' [[.source]] type = 'global' `````````` type = 'library' name = 'utf8' type = 'function' parent = { 1 = { type = 'global', name = 'utf8', }, 2 = { type = 'library', name = 'utf8', } } [char] [[.args]] name = 'code' type = 'integer' `````````` type = '...' [[.returns]] type = 'string' [charpattern] type = 'string' code = [=['[\0-\x7F\xC2-\xF4][\x80-\xBF]*']=] [codes] [[.args]] type = 'string' [[.returns]] type = 'function' returns = { 1 = { name = 'p', type = 'integer', }, 2 = { name = 'c', type = 'integer', } } [codepoint] [[.args]] type = 'string' `````````` name = 'i' type = 'integer' optional = 'after' default = 1 `````````` name = 'j' type = 'integer' optional = 'self' [[.returns]] name = 'code' type = 'integer' `````````` type = '...' [len] [[.args]] type = 'string' `````````` name = 'i' type = 'integer' optional = 'after' default = 1 `````````` name = 'j' type = 'integer' optional = 'self' default = -1 [[.returns]] type = 'integer' `````````` name = 'errpos' type = 'integer' optional = 'self' [offset] [[.args]] type = 'string' `````````` name = 'n' type = 'integer' `````````` name = 'i' type = 'integer' [[.returns]] name = 'p' type = 'integer'