Template:GB18030/doc

Encodes a Unicode code point as GB 18030, a Mainland Chinese standard UTF.

Technical details
Delegates most logic to Template:GB18030/main. Uses Template:GB18030/decimal if decimal output is requested.

Examples

 * &rarr;
 * &rarr;

Usage
{	"params": { "1": {			"label": "Codepoint", "description": "A Unicode code point, in hexadecimal.", "example": "26C7", "type": "string", "required": true },		"base": { "label": "Base", "description": "Base to output (hex, dec or LChex, though aliases to exist to match the invocation of the UTF-8 template). Does not affect input, which must be hexadecimal in either case.", "type": "string", "default": "hex" },		"edition": { "label": "Edition", "description": "A version of the GB 18030 encoding (2000, 2005, web or newucs—the former two are true UTFs, while the latter two are pragmatic versions used by some implementations which forsake some PUA characters).", "type": "string", "default": "2005" },		"gb1988": { "label": "Use GB 1988 for yuan sign?", "description": "Should 0x24 be used as an alternative encoded form of ¥, per chart glyphs? If in doubt, leave this off (since this precludes functioning as a true UTF).", "type": "boolean", "default": "no" }	},	"paramOrder": [ "1",		"base", "edition", "gb1988" ],	"description": "Encodes a Unicode code point as GB 18030, a Mainland Chinese standard UTF.", "format": "inline" }