Jump to content

Template:GB18030/astral/doc

From Wikipedia, the free encyclopedia

Internal use template for encoding a code point outside of the Basic Multilingual Plane to GB 18030. Unlike the Basic Multilingual Plane (but like most other UTFs), this can be calculated without the use of a look-up table. BMP code points are handled by Template:GB18030/BMP instead.

Usage

[edit]

Takes one argument: a Unicode code point in decimal. Outputs a GB 18030 byte sequence in hexadecimal, with bytes delimited by spaces.