The following table lists library routines for National Language Support (NLS).
Programs that use these routines must access the NLS library with USE IFNLS. These routines are restricted to Windows* systems.
Routine names are shown in mixed case to make the names easier to understand. When writing your applications, you can use any case.
Name |
Routine Type |
Description |
---|---|---|
Function |
Returns the length of the first multibyte character in a string. |
|
Function |
Converts a character string from a multibyte codepage to a Unicode string. |
|
Function |
Converts a Unicode string to a multibyte character string of the current codepage. |
|
Function |
Returns the longest possible mutlibyte character for the current codepage. |
|
Function |
Same as INCHARQQ, but can read a single multibyte character at once. |
|
Function |
Same as INDEX, except that multibyte characters can be included in its arguments. |
|
Function |
Converts a Japan Industry Standard (JIS) character to a Kanji (Shift JIS or JMS) character. |
|
Function |
Converts a Kanji (Shift JIS or JMS) character to a Japan Industry Standard (JIS) character. |
|
Function |
Determines whether a given character is the first byte of a multibyte character. |
|
Function |
Returns the number of multibyte characters in a string, including trailing spaces. |
|
Function |
Returns the number of multibyte characters in a string, not including trailing spaces. |
|
Function |
Same as LGE, LGT, LLE, and LLT, and the logical operators .EQ. and .NE., except that multibyte characters can be included in their arguments. |
|
Function |
Returns the string position of the first byte of the multibyte character immediately after the given string position. |
|
Function |
Returns the string position of the first byte of the multibyte character immediately before the given string position. |
|
Function |
Same as SCAN, except that multibyte characters can be included. in its arguments |
|
Function |
Performs a context sensitive test to determine whether a given byte in a character string is a lead byte. |
|
Function |
Same as VERIFY, except that multibyte characters can be included in its arguments. |
|
Function |
Returns an array of valid codepages for the current console. |
|
Function |
Returns an array of locales (langauge/country combinations) installed on the system. |
|
Function |
Formats a currency number according to conventions of the current locale (language/country). |
|
Function |
Formats a date according to conventions of the current locale (language/country). |
|
Function |
Formats a number according to conventions of the current locale (language/country). |
|
Function |
Formats a time according to conventions of the current locale (language/country). |
|
Function |
Returns the current codepage for the system Window or console. |
|
Subroutine |
Returns the current language, country, and/or codepage. |
|
Function |
Returns information about the current locale. |
|
Function |
Sets the codepage for the console. |
|
Function |
Sets the current language, country, and codepage. |