Jump to content

Module:CharToCodepoint

From Humanipedia
Revision as of 21:23, 3 February 2025 by Humanipedia (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:CharToCodepoint/doc

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