Locale.getDefaultAnsiCodePage

Overview | Methods | This Package | All Packages

Locale.getDefaultAnsiCodePage

Retrieves the American National Standards Institute (ANSI) code page associated with this locale.

Syntax

public int getDefaultAnsiCodePage()

Return Value

Returns an integer value representing the ANSI code page for this locale.

Remarks

Use this method to determine the ANSI code page number for a locale. A code page is a character set, which can include numbers, punctuation marks, and other glyphs. Different languages and locales may use different code pages. For example, ANSI code page 1252 is used for American English and most European languages; OEM code page 932 is used for Japanese Kanji. Many code pages share the ASCII character set for characters in the range 0x00 – 0x7F.

See Also   getDefaultOEMCodePage, getDefaultMacCodePage