The following routines perform character-based code conversion on the KS C 5601 character set. They convert characters between Completion code (or EUC format) and Combination code (or Packed code).
To use these routines, the library kle must be linked using the C compiler option -lkle. For more information, see the kconv(3x) man page.
Table B-8 Korean Code Conversion Functions
Routine |
Description |
---|---|
comptopack |
Converts a character in Completion code to Combination (Packed) code of KS C 5601-1987. |
packtocomp |
Converts a character in Combination (Packed) code of KS C 5601-1987 to Completion code. |
wansuntojohap |
Converts a character in Completion code to Combination (Packed) code of KS C 5601-1992. |
packtocomp |
Converts a character in Combination (Packed) code of KS C 5601-1992 to Completion code . |