Chapter 4. Coded Character Sets And Encodings in the World
19
Characters in character sets with 94 character are mapped into 0x21 0x7e. Characters in 96
character set are mapped into 0x20 0x7f.
For example, ASCII, ISO 646 UK, and JISX 0201 Katakana are classified into (1), JISX 0208 Japanese
Kanji, KSX 1001 Korean, GB 2312 80 Chinese are classified into (3), and ISO 8859 * are classified to
(2).
The mechanism to map these character sets into GL and GR is a bit complex. There are four
buffers, G0, G1, G2, and G3. A character set is designated into one of these buffers and then a
buffer is invoked into GL or GR.
Control sequences to 'designate' a character set into a buffer are determined as below.
A sequence to designate a character set with 1 byte 94 character
into G0 set is: ESC 0x28 F,
into G1 set is: ESC 0x29 F,
into G2 set is: ESC 0x2a F, and
into G3 set is: ESC 0x2b F.
A sequence to designate a character set with 1 byte 96 character
into G1 set is: ESC 0x2d F,
into G2 set is: ESC 0x2e F, and
into G3 set is: ESC 0x2f F.
A sequence to designate a character set with multibyte 94 character
into G0 set is: ESC 0x24 0x28 F (exception: 'ESC 0x24 F' for F = 0x40, 0x41, 0x42.),
into G1 set is: ESC 0x24 0x29 F,
into G2 set is: ESC 0x24 0x2a F, and
into G3 set is: ESC 0x24 0x2b F.
A sequence to designate a character set with multibyte 96 character
into G1 set is: ESC 0x24 0x2d F,
into G2 set is: ESC 0x24 0x2e F, and
into G3 set is: ESC 0x24 0x2f F.
where 'F' is determined for each character set:
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved