The following routines 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 B-3
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 B-4
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. |