-qutf

Pragma equivalent

None.

Purpose

Enables recognition of UTF literal syntax.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -q--+-noutf-+----------------------------------------------><
        '-utf---'   

Defaults

  • C only -qnoutf
  • C++ only -qutf for all language levels except -qlanglvl=strict98. -qnoutf when -qlanglvl=strict98 is in effect.

Usage

The compiler uses iconv library routine to convert the source file to Unicode. If the source file cannot be converted, the compiler will ignore the -qutf option and issue a warning.

Predefined macros

None.

Related information



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us