| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (8 out of 10)

Encoding Korean Characters

The Gensym character set includes the characters defined in the KS C 5601 standard character set for the Korean language. G2 uses the correct ideograms to display symbol and text values that include these characters, regardless of whether the Korean language facility is in use.

For information about the Korean language facility, see Using the Korean Language Facilities.

Each KS C 5601 character has a distinct representation in the Gensym character set. A KS C 5601 character can be represented in two bytes. The first byte contains the most significant eight bits of the KS C 5601 character's value.

To express a KS C 5601 character that is part of the Gensym character set:

For example, given the KS C 5601 character code 8483 (or 0x2123 hexadecimal), the character's second byte contains the hexadecimal value 0x23. Add the hexadecimal value 0x5e to this, to obtain the sum 0x81. Next, encode the character's incremented value 8577 (or 0x2181 hexadecimal) as for a JIS character.

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (8 out of 10)

Copyright © 1997 Gensym Corporation, Inc.