跳转到内容

模組:Unicode data/blocks

维基百科,自由的百科全书

这是Module:Unicode data/blocks当前版本,由Dušan Kreheľ留言 | 贡献编辑于2025年7月28日 (一) 18:25 (Fix and function call)。这个网址是本页该版本的固定链接。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)
-- [[:commons:Data:Unicode/data/blocks.tab]]

local function get_result()
	local data=mw.ext.data.get("Unicode/data/blocks.tab")
	local result={}
	local write_index=1

	for index, cols in ipairs(data.data) do
		if cols[1] and cols[2] and cols[3] then
			result[write_index]={tonumber(cols[1], 16), tonumber(cols[2], 16), cols[3]}
			write_index=write_index+1
		end
	end
	result.length = #result

	return result
end

return get_result()