X-Git-Url: http://git.sourceforge.jp/view?p=nkf%2Fnkf.git;a=blobdiff_plain;f=config.h;h=752ed38d590d8a042ab68b91fd52a3e7c7f867ac;hp=7779be9790dbcf23d1df8a11edf8de1fc6d50c48;hb=0ed0649c8621e3a1d7af3e7c9b95647e59d56ab9;hpb=8f3a9ed86e2fb1ea4eff832826fb90f9518b64d4 diff --git a/config.h b/config.h index 7779be9..752ed38 100644 --- a/config.h +++ b/config.h @@ -1,49 +1,51 @@ #ifndef _CONFIG_H_ #define _CONFIG_H_ -/* UTF8 入出力 */ +/* UTF8 input and output */ #define UTF8_INPUT_ENABLE #define UTF8_OUTPUT_ENABLE -/* Shift_JIS 範囲外の文字を、CP932 で同値な文字に読み換える */ +/* invert characters invalid in Shift_JIS to CP932 */ #define SHIFTJIS_CP932 -/* オプションで入力を指定した時に、文字コードを固定する */ +/* fix input encoding when given by option */ #define INPUT_CODE_FIX -/* --overwrite オプション */ +/* --overwrite option */ /* by Satoru Takabayashi */ #define OVERWRITE -/* --cap-input, --url-input オプション */ +/* --cap-input, --url-input option */ #define INPUT_OPTION -/* --numchar-input オプション */ +/* --numchar-input option */ #define NUMCHAR_OPTION -/* --debug, --no-output オプション */ +/* --debug, --no-output option */ #define CHECK_OPTION -/* --exec-in, --exec-out オプション - * pipe, fork, execvp あたりが無いと動きません +/* JIS X0212 */ +#define X0212_ENABLE + +/* --exec-in, --exec-out option + * require pipe, fork, execvp and so on. + * please undef this on MS-DOS, MinGW + * this is still buggy arround child process */ -#define EXEC_IO +/* #define EXEC_IO */ -/* SunOS の cc を使うときは undef にしてください */ -#define ANSI_C_PROTOTYPE +/* Unicode Normalization */ +#define UNICODE_NORMALIZATION -/* int が 16bit 以下の環境で NUMCHAR_OPTION を使うには、 - * コメントを外してください。 +/* + * Select Default Output Encoding + * */ -/* #define INT_IS_SHORT */ - -/******************************/ -/* デフォルトの出力コード選択 */ -/* Select DEFAULT_CODE */ -#define DEFAULT_CODE_JIS -/* #define DEFAULT_CODE_SJIS */ -/* #define DEFAULT_CODE_EUC */ -/* #define DEFAULT_CODE_UTF8 */ -/******************************/ + +/* #define DEFAULT_CODE_JIS */ +/* #define DEFAULT_CODE_SJIS */ +/* #define DEFAULT_CODE_WINDOWS_31J */ +/* #define DEFAULT_CODE_EUC */ +/* #define DEFAULT_CODE_UTF8 */ #endif /* _CONFIG_H_ */