Difference between revisions of "Template:GB18030/BMP/doc"

From blackwiki
Jump to navigation Jump to search
imported>HarJIT
imported>HarJIT
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
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:Charmap/GB18030/astral]] instead.
+
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:Charmap/GB18030/pointer]].
+
Makes use of [[Template:GB18030/pointer]].
 
== Usage ==
 
== Usage ==
 
Takes one argument: a Unicode code point in decimal. Outputs a GB 18030 byte sequence in hexadecimal, with bytes delimited by spaces.
 
Takes one argument: a Unicode code point in decimal. Outputs a GB 18030 byte sequence in hexadecimal, with bytes delimited by spaces.

Latest revision as of 08:11, 18 August 2020

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

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