Jump to content

Module:CharToCodepoint

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Alexis Jazz (talk | contribs) at 13:38, 24 November 2023 ([Factotum]). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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])
	local BaseConvert = require('Module:BaseConvert')
	return codepoint
end
return c2s