Jump to content
Wikipedia The Free Encyclopedia

Module:Unicode data/blocks

From Wikipedia, the free encyclopedia
Module documentation[view] [edit] [history] [purge]

Contains data on Unicode blocks for Module:Unicode data derived from Blocks.txt in the Unicode Character Database.

The above documentation is transcluded from Module:Unicode data/blocks/doc. (edit | history)
Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages.
Subpages of this module.

 -- [[:commons:Data:Unicode/data/blocks.tab]]

 localfunctionget_result()
 localdata=mw.ext.data.get("Unicode/data/blocks.tab")
 localresult={}
 localwrite_index=1

 forindex,colsinipairs(data.data)do
 ifcols[1]andcols[2]andcols[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

 returnresult
 end

 returnget_result()

AltStyle によって変換されたページ (->オリジナル) /