Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

To set the default locale for the system, you set the following registry value to a hexadecimal value that represents the default locale to use for the system.

Copy Code
[HKEY_LOCAL_MACHINE\nls]
  "DefaultLCID": REG_DWORD 

If this is not set, then the default is locale 0x409.

To override a locale's default original equipment manufacturer (OEM) code page, you must set the following registry value to a hexadecimal value that represents the default OEM code page to use instead of the one defined by the current locale.

Copy Code
[HKEY_LOCAL_MACHINE\nls]
  "DefaultOCP": REG_DWORD

If an invalid or unsupported OEM code page is supplied, then the default code of 437 is used for the system.

To override a locale's default ASCII code page, you must set the following registry value to a hexadecimal value that represents the default ASCII code page to use instead of the one defined by the current locale.

Copy Code
[HKEY_LOCAL_MACHINE\nls]
  "DefaultACP": REG_DWORD

If an invalid or unsupported OEM code page is supplied, then the default code of 1252 is used for the system.

For an example of these registry values, see Common.reg in Microsoft® Platform Builder.

See Also