7.103 --locale=lang_country

Specifies the locale for source files.

Syntax

--locale=lang_country
Where:
lang_country
is the new default locale.
Use this option in combination with --multibyte_chars.

Default

If you do not specify this option, the system locale is used.

Restrictions

The locale name might be case-sensitive, depending on the host platform.
The permitted settings of locale are determined by the host platform.
Ensure that you have installed the appropriate locale support for the host platform.

Note

If the source file encoding is UTF-8 or UTF-16, and the file starts with a byte order mark then the compiler ignores the --locale and --[no_]multibyte_chars options and interprets the file as UTF-8 or UTF-16.

Example

To compile Japanese source files on an English-based Windows workstation, use:
--multibyte_chars --locale=japanese
Related reference
7.111 --message_locale=lang_country[.codepage]
7.114 --multibyte_chars, --no_multibyte_chars
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.