Module:CharToCodepoint and Module:CharToCodepoint/sandbox: Difference between pages
(Difference between pages)
imported>Alexis Jazz [Factotum] |
imported>Alexis Jazz [Factotum] |
||
| Line 4: | Line 4: | ||
local args = getArgs(frame) | local args = getArgs(frame) | ||
local char_to_script = require('Module:scripts').charToScript | local char_to_script = require('Module:scripts').charToScript | ||
local codepoint = | local codepoint = string.byte('👨👩👧') | ||
return codepoint | return codepoint | ||
end | end | ||
return c2s | return c2s | ||