NWInitUnicodeTables(3nw)


NWInitUnicodeTables -- sets up and initializes Unicode conversion tables

Synopsis

   #include <unicode.h> 
   

int N_API NWInitUnicodeTables (int countryCode, int codePage);

Description

The parameters are as follows:

countryCode
(IN) Specifies the country or nation identification number.

codePage
(IN) Specifies the Character Encoding Scheme (CES) ID number.

Return values

0x0000
Successful

0xFE11
UNI_LOAD_FAILED

0xFE12
UNI_NO_MEMORY

0xFE13
UNI_NO_PERMISSION

0xFE14
UNI_TOO_MANY_FILES

0xFE15
UNI_NO_SUCH_FILE

0xFE16
UNI_FUTURE_OPCODE

0xFE0B
UNI_OPEN_FAILED

0xFE0E
UNI_RULES_CORRUPT

Notices

countryCode and codePage can be found by calling NWLlocaleconv.

NWInitUnicodeTables or NWLoadRuleTable must be successfully called before these calls can be made:

Services

Unicode

NCP calls

None

References

NWFreeUnicodeTables(3nw), NWLlocaleconv(3nw), NWLoadRuleTable(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.