-qmbcs

Category

Language element control

Purpose

Indicates to the compiler whether character literal constants, Hollerith constants, H edit descriptors, and character string edit descriptors can contain Multibyte Character Set (MBCS) or Unicode characters.

This option is intended for applications that must deal with data in a multibyte language, such as Japanese.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-nombcs-.   
>>- -q--+-mbcs---+---------------------------------------------><

@PROCESS:

@PROCESS MBCS | NOMBCS

Defaults

-qnombcs

Usage

Each byte of a multibyte character is counted as a column.

To process the multibyte data correctly at run time, set the locale (through the LANG environment variable or a call to the libc setlocale routine) to the same value as during compilation.

To read or write Unicode data, set the locale value to UNIVERSAL at run time. If you do not set the locale, you might not be able to interchange data with Unicode-enabled applications.