Translations:Extension:Scribunto/Lua reference manual/1036/en

Much like string.byte, except that the return values are codepoints and the offsets are characters rather than bytes.