You copied the Doc URL to your clipboard.

--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

On a UNIX workstation use:

--multibyte_chars --locale=ja_JP
Was this page helpful? Yes No