Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LOCALE_IDEFAULT* Constants

This topic defines the LOCALE_IDEFAULT* constants used by NLS.

ValueMeaning
LOCALE_IDEFAULTANSICODEPAGEThe ANSI code page used by a locale for applications that do not support Unicode. The maximum number of characters allowed for this string is six, including a terminating null character. If no ANSI code page is available, only Unicode can be used for the locale. In this case, the value is CP_ACP (0). Such a locale cannot be set as the system locale. Applications that do not support Unicode do not work correctly with locales marked as "Unicode only". For a list of ANSI and other code pages, see Code Page Identifiers.
LOCALE_IDEFAULTCODEPAGEOriginal equipment manufacturer (OEM) code page associated with the country/region. The OEM code page is used for conversion from MS-DOS-based, text-mode applications. If the locale does not use an OEM code page, the value is CP_OEMCP (1). The maximum number of characters allowed for this string is six, including a terminating null character. For a list of OEM and other code pages, see Code Page Identifiers.
LOCALE_IDEFAULTCOUNTRYObsolete. Do not use. This value was provided so that partially specified locales could be completed with default values. Partially specified locales are now deprecated.
LOCALE_IDEFAULTEBCDICCODEPAGEWindows 2000: Default Extended Binary Coded Decimal Interchange Code (EBCDIC) code page associated with the locale. The maximum number of characters allowed for this string is six, including a terminating null character. For a list of EBCDIC and other code pages, see Code Page Identifiers.
LOCALE_IDEFAULTLANGUAGEObsolete. Do not use. This value was provided so that partially specified locales could be completed with default values. Partially specified locales are now deprecated.
LOCALE_IDEFAULTMACCODEPAGEDefault Macintosh code page associated with the locale. The maximum number of characters allowed for this string is six, including a terminating null character. If the locale does not use a Macintosh code page, the value is CP_MACCP (2). For a list of Macintosh (MAC) and other code pages, see Code Page Identifiers.

 

 

 

Community Additions

Show:
© 2014 Microsoft