OSDN Git Service

* refine file structure.
[nkf/nkf.git] / config.h
index 7779be9..473be76 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,49 +1,51 @@
 #ifndef _CONFIG_H_
 #define _CONFIG_H_
 
-/* UTF8 \e$BF~=PNO\e(B */
+/* UTF8 input and output */
 #define UTF8_INPUT_ENABLE
 #define UTF8_OUTPUT_ENABLE
 
-/* Shift_JIS \e$BHO0O30$NJ8;z$r!"\e(BCP932 \e$B$GF1CM$JJ8;z$KFI$_49$($k\e(B */
+/* invert characters invalid in Shift_JIS to CP932 */
 #define SHIFTJIS_CP932
 
-/* \e$B%*%W%7%g%s$GF~NO$r;XDj$7$?;~$K!"J8;z%3!<%I$r8GDj$9$k\e(B */
+/* fix input encoding when given by option */
 #define INPUT_CODE_FIX
 
-/* --overwrite \e$B%*%W%7%g%s\e(B */
+/* --overwrite option */
 /* by Satoru Takabayashi <ccsatoru@vega.aichi-u.ac.jp> */
 #define OVERWRITE
 
-/* --cap-input, --url-input \e$B%*%W%7%g%s\e(B */
+/* --cap-input, --url-input option */
 #define INPUT_OPTION
 
-/* --numchar-input \e$B%*%W%7%g%s\e(B */
+/* --numchar-input option */
 #define NUMCHAR_OPTION
 
-/* --debug, --no-output \e$B%*%W%7%g%s\e(B */
+/* --debug, --no-output option */
 #define CHECK_OPTION
 
-/* --exec-in, --exec-out \e$B%*%W%7%g%s\e(B
- * pipe, fork, execvp \e$B$"$?$j$,L5$$$HF0$-$^$;$s\e(B
+/* 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 \e$B$N\e(B cc \e$B$r;H$&$H$-$O\e(B undef \e$B$K$7$F$/$@$5$$\e(B */
-#define ANSI_C_PROTOTYPE
+/* Unicode Normalization */
+#define UNICODE_NORMALIZATION
 
-/* int \e$B$,\e(B 16bit \e$B0J2<$N4D6-$G\e(B NUMCHAR_OPTION \e$B$r;H$&$K$O!"\e(B
- * \e$B%3%a%s%H$r30$7$F$/$@$5$$!#\e(B
+/*
+ * Select Default Output Encoding
+ * 
+ * If not defined, locale encoding is used.
  */
-/* #define INT_IS_SHORT */
-
-/******************************/
-/* \e$B%G%U%)%k%H$N=PNO%3!<%IA*Br\e(B */
-/* 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_EUC   */
+/* #define DEFAULT_CODE_UTF8  */
 
 #endif /* _CONFIG_H_ */