Provides conversion between coded character set IDs (CCSID) and code set names.
The iconv Library (libiconv.a)
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.
Item | Description |
---|---|
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.