Provides conversion between coded character set IDs (CCSID) and code set names.
The iconv Library (libiconv.a)
#include <iconv.h>
CCSID cstoccsid (*Codeset) const char *Codeset;
char *ccsidtocs (CCSID) CCSID CCSID;
The cstoccsid subroutine returns the CCSID of the code set specified by the Codeset parameter. The ccsidtocs subroutine returns the code set name of the CCSID specified by CCSID parameter. CCSIDs are registered IBM coded character set IDs.
Codeset | Specifies the code set name to be converted to its corresponding CCSID. |
CCSID | Specifies the CCSID to be converted to its corresponding code set name. |
If the code set is recognized by the system, the cstoccsid subroutine returns the corresponding CCSID. Otherwise, null is returned.
If the CCSID is recognized by the system, the ccsidtocs subroutine returns the corresponding code set name. Otherwise, a null pointer is returned.
These subroutines are part of Base Operating System (BOS) Runtime.
For more information about code set conversion, see Converters Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
The National Language Support Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
Subroutines Overview in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.