#pragma options [no]mbcs, #pragma options [no]dbcs
Enables support for multibyte character sets (MBCS) and Unicode characters in your source code.
When mbcs or dbcs is in effect, multibyte character literals and comments are recognized by the compiler. When nombcs or nodbcs is in effect, the compiler treats all literals as single-byte literals.
.-nodbcs-. +-nombcs-+ >>- -q--+-mbcs---+--------------------------------------------->< '-dbcs---'
-qnombcs, -qnodbcs
For rules on using multibyte characters in your source code, see Multibyte characters .
xlc /u/myhome/c_programs/kanji_files/multibyte_char.c -omultibyte_char
-DMYMACRO=“kpsmultibyte_chardcs”
-DMYMACRO='multibyte_char'
multibyte_char.c
gives
a list file called multibyte_char.lst
None.
xlc myprogram.c -qmbcs