Jump to content

Module:CharToCodepoint/sandbox

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Alexis Jazz (talk | contribs) at 16:01, 6 December 2023 (Created page with 'local c2s = {}' [Factotum]). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
local c2s = {}
function c2s.c2s( frame )
	local getArgs = require('Module:Arguments').getArgs
	local args = getArgs(frame)
	local char_to_script = require('Module:scripts').charToScript
	local codepoint = mw.ustring.codepoint(args[1])
	return codepoint
end
return c2s