-Xcharacter_set


This option specifies the Japanese/Chinese character code.

[Specification format]

-Xcharacter_set=code

 

-

Interpretation when omitted

Processing of Japanese/Chinese character encoding is not performed.

[Detailed description]

-

This option specifies the character code to be used for Japanese/Chinese comments and character strings in the source file.

-

The items that can be specified as code are shown below.
An error will occur if any other item is specified.
Operation is not guaranteed if the specified character code differs from the character code of the source file.

none

Does not process the Japanese and Chinese character code

euc_jp

EUC (Japanese)

sjis

SJIS

utf8

UTF-8

big5

Traditional Chinese

gb2312

Simplified Chinese

 

-

An error will occur if code is omitted.

[Example of use]

-

To specify EUC as the character code to be used for Japanese comments and character strings in the input file, describe as:

>ccrh -Xcharacter_set=euc_jp -Xcommon=rh850 main.c