OSDN Git Service

Add README.
[nkf/nkf.git] / config.h
1 #ifndef _CONFIG_H_
2 #define _CONFIG_H_
3
4 /* UTF8 input and output */
5 #define UTF8_INPUT_ENABLE
6 #define UTF8_OUTPUT_ENABLE
7
8 /* invert characters invalid in Shift_JIS to CP932 */
9 #define SHIFTJIS_CP932
10
11 /* fix input encoding when given by option */
12 #define INPUT_CODE_FIX
13
14 /* --overwrite option */
15 /* by Satoru Takabayashi <ccsatoru@vega.aichi-u.ac.jp> */
16 #define OVERWRITE
17
18 /* --cap-input, --url-input option */
19 #define INPUT_OPTION
20
21 /* --numchar-input option */
22 #define NUMCHAR_OPTION
23
24 /* --debug, --no-output option */
25 #define CHECK_OPTION
26
27 /* JIS X0212 */
28 #define X0212_ENABLE
29
30 /* --exec-in, --exec-out option
31  * require pipe, fork, execvp and so on.
32  * please undef this on MS-DOS, MinGW
33  * this is still buggy arround child process
34  */
35 /* #define EXEC_IO */
36
37 /* Unicode Normalization */
38 #define UNICODE_NORMALIZATION
39
40 /*
41  * Select Default Output Encoding
42  * 
43  */
44
45 /* #define DEFAULT_CODE_JIS    */
46 /* #define DEFAULT_CODE_SJIS   */
47 /* #define DEFAULT_CODE_WINDOWS_31J */
48 /* #define DEFAULT_CODE_EUC    */
49 /* #define DEFAULT_CODE_UTF8   */
50
51 #endif /* _CONFIG_H_ */