Module:CharToHexCodepoint

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') local codepointhex = BaseConvert.convert({n = codepoint, base = 16}) return codepointhex end return c2s