Template:GB18030/main
Jump to navigation
Jump to search
94 39 DA 33
Contains the overriding logic of {{GB18030}}
. Defines mappings for problem codes (those which differ between editions, or between implementations, or four-byte codes out of order resulting from this) itself. Handles ASCII characters itself. For other characters, invokes Template:GB18030/BMP or Template:GB18030/astral.
Usage
Takes one positional parameter: a Unicode code point in decimal. Outputs a GB 18030 byte sequence in hexadecimal, with bytes delimited by spaces.
Optional named parameters include gb1988
(a boolean controlling if ¥ is mapped to 0x24—if in doubt, leave this off) and edition
(2000
, 2005
, web
or newucs
—defaulting to 2005
).
The above documentation is transcluded from Template:GB18030/main/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |