The routines listed in the following table perform character-based code conversion on the CNS-11643 character set. They convert characters in the set between CNS-11643, EUC, and Big5 formats. To use these routines, the library hle must be linked using the C compiler option -lhle. For more information, see the hconv(3x) man page.
Table A–3 Character-Based Code Conversion Routines
Function |
Description |
---|---|
cbig5toeuc() |
Converts BIG5 character to EUC |
ccnstoeuc() |
Converts CNS character to EUC |
ceuctobig5() |
Converts EUC character to BIG5 |
ceuctocns() |
Converts EUC character to CNS |
Table A–4 Character-Based Code Conversion Routines (cont)
Function |
Description |
---|---|
big5toeuc() |
Converts BIG5 string to EUC. |
cnstoeuc() |
Converts CNS string to EUC. |
euctobig5() |
Converts EUC string to BIG5. |
euctocns() |
Converts EUC string to CNS. |