4 /* UTF8
\e$BF~=PNO
\e(B */
5 #define UTF8_INPUT_ENABLE
6 #define UTF8_OUTPUT_ENABLE
8 /* Shift_JIS
\e$BHO0O30$NJ8;z$r!"
\e(BCP932
\e$B$GF1CM$JJ8;z$KFI$_49$($k
\e(B */
11 /*
\e$B%*%W%7%g%s$GF~NO$r;XDj$7$?;~$K!"J8;z%3!<%I$r8GDj$9$k
\e(B */
12 #define INPUT_CODE_FIX
14 /* --overwrite
\e$B%*%W%7%g%s
\e(B */
15 /* by Satoru Takabayashi <ccsatoru@vega.aichi-u.ac.jp> */
18 /* --cap-input, --url-input
\e$B%*%W%7%g%s
\e(B */
21 /* --numchar-input
\e$B%*%W%7%g%s
\e(B */
22 #define NUMCHAR_OPTION
24 /* --debug, --no-output
\e$B%*%W%7%g%s
\e(B */
30 /* --exec-in, --exec-out
\e$B%*%W%7%g%s
\e(B
31 * pipe, fork, execvp
\e$B$"$?$j$,L5$$$HF0$-$^$;$s!#
\e(B
32 * MS-DOS, MinGW
\e$B$J$I$G$O
\e(B undef
\e$B$K$7$F$/$@$5$$
\e(B
33 * child process
\e$B=*N;;~$N=hM}$,$$$$$+$2$s$J$N$G!"
\e(B
34 *
\e$B%G%U%)%k%H$GL58z$K$7$F$$$^$9!#
\e(B
38 /* SunOS
\e$B$N
\e(B cc
\e$B$r;H$&$H$-$O
\e(B undef
\e$B$K$7$F$/$@$5$$
\e(B */
39 #define ANSI_C_PROTOTYPE
41 /* int
\e$B$,
\e(B 32bit
\e$BL$K~$N4D6-$G
\e(B NUMCHAR_OPTION
\e$B$r;H$&$K$O!"
\e(B
42 *
\e$B%3%a%s%H$r30$7$F$/$@$5$$!#
\e(B
44 /* #define INT_IS_SHORT */
46 /* Unicode Normalization */
47 #define UNICODE_NORMALIZATION
50 /******************************/
51 /*
\e$B%G%U%)%k%H$N=PNO%3!<%IA*Br
\e(B */
52 /* Select DEFAULT_CODE */
53 #define DEFAULT_CODE_JIS
54 /* #define DEFAULT_CODE_SJIS */
55 /* #define DEFAULT_CODE_EUC */
56 /* #define DEFAULT_CODE_UTF8 */
57 /******************************/
59 #define DEFAULT_CODE_SJIS
62 #if defined(NUMCHAR_OPTION) && !defined(UTF8_INPUT_ENABLE)
63 #define UTF8_INPUT_ENABLE
66 #ifdef UNICODE_NORMALIZATION
67 #ifndef UTF8_INPUT_ENABLE
68 #define UTF8_INPUT_ENABLE
70 #define NORMALIZATION_TABLE_LENGTH 942
71 #define NORMALIZATION_TABLE_NFC_LENGTH 3
72 #define NORMALIZATION_TABLE_NFD_LENGTH 9
73 struct normalization_pair{
74 const int nfc[NORMALIZATION_TABLE_NFC_LENGTH];
75 const int nfd[NORMALIZATION_TABLE_NFD_LENGTH];
79 #endif /* _CONFIG_H_ */