National Language Support APIs include:
This section introduces you to the syntax and parameters for the national language support APIs. These APIs consist of the program calls shown in the following list:
Convert Sort Sequence Table (QLGCNVSS) converts a sort sequence table from one coded character set identifier (CCSID) to another.
QlgCvtTextDescToDesc()--Convert Text Descriptor converts a descriptor of text from one type (CCSID, for example) to another type (IANA name, for example).
QtqValidateCCSID()--Validate CCSID determines whether the specified CCSID is supported by the AS/400.
Retrieve CCSID Data (QLGRTVCD) retrieves different subsets of CCSIDs based on the selection type.
Retrieve Country
Identifiers (QLGRTVCI) retrieves a list of country
identifiers and their descriptions.
Retrieve Language IDs (QLGRTVLI) retrieves a list of language identifiers.
Retrieve Language Information (QLGRLNGI) returns a selected national language version (NLV) based on the specified product, option, and language identifier.
Retrieve Locale Information (OPM, QLGRTVLC; ILE, QlgRetrieveLocaleInformation) retrieves one or all categories of a locale.
Retrieve Sort Sequence Table (QLGRTVSS) retrieves a specified sort sequence table.
Scan String for Mixed Data (QLGSCNMX) tests a mixed input string for double-byte characters.
Sort (QLGSORT) provides a generalized sort function.
Sort Input/Output (QLGSRTIO) provides a set of records to be sorted or returns a set of records that have already been sorted.
Truncate Character Data (QLGTRDTA) truncates a CCSID-tagged string of character data to a specified length.
UniNextCompChar()--Unicode Advance to Next Composite Character Sequence locates the next non-combining character in a string.
UniQueryCompChar()--Unicode Number of Composite Character Sequences computes the number of composite character sequences in a code element array.
UniQueryCompCharLen()--Unicode Composite Character Sequence Code Element Count computes the number of code elements in a composite character sequence.
Validate Language ID (QLGVLID) ensures that a language identifier is supported.
You also may want to work with the APIs that convert coded data. See the Data Conversion APIs
The following APIs work with UCS2 (Universal Multiple-Octet Coded Character Set with 16 bits per character) character sets:
Transform UCS Data
(QlgTransformUCSData()) API
|
Top
| Character Data Representation Architecture (CDRA) APIs Data Conversion APIs | APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |