Adam
Новая страница: «local getArgs = require('Module:Arguments').getArgs local p = {} function p.main(frame) local args = getArgs(frame) return p._main(args) end function p._main(args) local char = args[1] local encoding = args[2] or 'unicode' local representation = args[3] or 'decimal' local code = {} for codepoint in mw.ustring.gcodepoint(char) do table.insert(code, codepoint) end local s = '' if representation == 'decimal' then if encoding == 'unicode' the...»