Template:GB18030/BMP
81 37 B6 31
Internal use template for encoding a non-ASCII Basic Multilingual Plane code point to GB 18030. Unlike the other UCS planes (or most other UTFs), this has to use a large look-up table for at least part of it. Other UCS planes are handled by Template:GB18030/astral instead.
Makes use of Template:GB18030/pointer.
Usage
changeTakes one argument: a Unicode code point in decimal. Outputs a GB 18030 byte sequence in hexadecimal, with bytes delimited by spaces.