Skip to main content

IAR Embedded Workbench for RH850 3.20.x

‑‑source_encoding

In this section:
Syntax
‑‑source_encoding {locale|utf8}
Parameters

locale

The default source encoding is the system locale encoding.

utf8

The default source encoding is the UTF-8 encoding.

Description

When reading a source file with no Byte Order Mark (BOM), use this option to specify the encoding. If this option is not specified and the source file does not have a BOM, the Raw encoding will be used.

See also

Text encodings.

Caution

Project>Options>C/C++ Compiler>Encodings>Default source file encoding