function export.get_<span class="searchmatch">codepoint</span>_link_target(ch) local <span class="searchmatch">data</span> = mw.load<span class="searchmatch">Data</span>("Module:<span class="searchmatch">Unicode</span> <span class="searchmatch">data</span>/<span class="searchmatch">data</span>") local c = <span class="searchmatch">codepoint</span>(ch) if <span class="searchmatch">data</span>.unsupported_title[c]...
<span class="searchmatch">codepoint</span> local gcodepoint = m_str_utils.gcodepoint local len = m_str_utils.len local u = m_str_utils.char local export = {} local m_<span class="searchmatch">Unicode</span>_<span class="searchmatch">data</span> ...
noncharacters: -- https://www.<span class="searchmatch">unicode</span>.org/faq/private_use.html#nonchar4 if 0xFDD0 <= <span class="searchmatch">codepoint</span> and (<span class="searchmatch">codepoint</span> <= 0xFDEF or floor(<span class="searchmatch">codepoint</span> % 0x10000) >= 0xFFFE)...
= {} for <span class="searchmatch">codepoint</span>, category in iterate_<span class="searchmatch">Unicode</span><span class="searchmatch">Data</span>(1, 3) do if category and type(<span class="searchmatch">codepoint</span>) ~= "table" then local ch = u(<span class="searchmatch">codepoint</span>) set_nested(output...
org/wiki/Basic_Latin_(<span class="searchmatch">Unicode</span>_block)#Variants) if <span class="searchmatch">codepoint</span> == 35 or <span class="searchmatch">codepoint</span> == 42 or (<span class="searchmatch">codepoint</span> > 47 and <span class="searchmatch">codepoint</span> < 58) -- Latin-1 Supplement or <span class="searchmatch">codepoint</span> == 169...
m_str_utils.<span class="searchmatch">codepoint</span> local ufind = m_str_utils.find local ulen = m_str_utils.len local usub = m_str_utils.sub local m_<span class="searchmatch">unicode</span> = require('Module:<span class="searchmatch">Unicode</span> <span class="searchmatch">data</span>')...
get_<span class="searchmatch">codepoint</span>(<span class="searchmatch">codepoint</span>, param_name) <span class="searchmatch">codepoint</span> = tonumber(<span class="searchmatch">codepoint</span>) or decode_entities(<span class="searchmatch">codepoint</span>) if type(<span class="searchmatch">codepoint</span>) == "string" and ulen(<span class="searchmatch">codepoint</span>) ==...
error("Must give a <span class="searchmatch">Unicode</span> block or character range") end local function present_<span class="searchmatch">codepoint</span>(<span class="searchmatch">codepoint</span>) if not m_<span class="searchmatch">unicode</span>.is_printable(<span class="searchmatch">codepoint</span>) then local...
ḫ ẖ z s š q k g t ṯ d ḏ" local replacement_<span class="searchmatch">codepoint</span> = 0xE000 -- Private Use Area; the ConScript <span class="searchmatch">Unicode</span> Registry uses this particular section for Tengwar...
block_start, block_end in m_<span class="searchmatch">unicode</span>.enum_blocks() do if (block_start >= start_<span class="searchmatch">codepoint</span>) and (block_end <= end_<span class="searchmatch">codepoint</span>) then insert(result, ( ...