Support for the Korean language within G2 consists of the Hangul Front-End Processor (HFEP), which handles all Korean keyboard input;
korean.kl, which includes translations of all G2 menu choices; and kscodes.kl, which provides the KS C 5601 character set as an online reference. The Korean language facilities provide the following support for developing KBs in Hangul:
Accessing Korean Menus
You can access Korean menus and facilities by merging in korean.kl.
To merge korean.kl into your own KB:
Main Menu > Merge KB.
korean.kl
korean.kl file is located in the kbs\utils subdirectory of the G2 product directory. Once you have merged the KL into your own KB, this workspace appears:
![]() |
The current user mode is
developer. Starting the KB activates all go-to-subworkspace and other buttons.
To start the KB:
Choose Main Menu > Start
To change the current language to Korean:
Main Menu > System Tables > Language Parameters
Current-language attribute and select korean.
![]() |
Each time you invoke the editor, English is the default entry mode and English characters appear as you type.
To toggle between language modes:
Click on the Korean activity button
or
Press Control + k
![]() |
Entering KS C 5601 Characters
While you can enter Korean characters in the editor directly from the keyboard, you may need to enter other characters as well. When the current language is korean, you can enter any character from the KS C 5601 character set as a four-digit hexadecimal value. If you enter the same value when the current language is not korean, G2 interprets the value as Unicode character. If you do not know the hexadecimal code for the character you wish to enter, you can locate it in the kscodes.kl, which provides a complete set of KS C 5601 text inserters.
To enter a KS C 5601 code in the Text Editor:
![]() |
Alternatively, you can merge in the
kscodes.kl KL and copy a character from the text inserters.
To merge kscodes.kl into your KB:
Main Menu > Merge KB
kscodes.kl
kscodes.kl file is located in the kbs\utils subdirectory of the G2 product directory, and displays a series of text inserter workspaces, each with multiple sets of characters,a few of which are shown next.
![]() |
The hexadecimal codes are listed in series in the upper left-hand corner of each workspace containing the KS C 5601 character set. Chinese characters begin at 4A21 hexadecimal on the workspace called KS C 5601-4900.
Using Text Inserters
You can use text inserters to access Hangul or Chinese characters from these workspaces to use in your KB. kscodes.kl. G2 copies the character to the editor.