# Function Calls and Macros

## Obtaining a Locale Structure

The following International folio macros obtain a Locale structure:

- `intlCloseLocale()` Terminates use of a Locale Item.
- `intlLookupLocale()` Returns a pointer to the Locale structure for an Item.
- `intlOpenLocale()` Gains access to a Locale Item.

## Manipulating Characters and Dates

The following International folio calls manipulate characters, dates, and numbers:

- `intlCompareStrings()` Compares two character strings.
- `intlConvertString()` Changes attributes of a character string.
- `intlFormatDate()` Formats a date according to a specified format.
- `IntlFormatNumber()` Formats a number according to a specified format.
- `intlGetCharAttrs()`Returns attributes of a specified character.
- `intlTransliterateString()`Converts a character string from one character set to another.

## Converting Character Sets

The following JString folio calls are used to convert from one character set to another.

- `ConvertASCII2ShiftJIS()`Converts a string from ASCII to Shift-JIS
- `ConvertShiftJIS2ASCII()` Converts a string from Shift-JIS to ASCII.
- `ConvertShiftJIS2UniCode()` Converts a string from Shift-JIS to UniCode.
- `ConvertUniCode2ShiftJIS()` Converts a string from UniCode to Shift-JIS.