summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/uptexdir/kanji.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/uptexdir/kanji.h b/Build/source/texk/web2c/uptexdir/kanji.h
index a00f41d9eff..4ee9beffac4 100644
--- a/Build/source/texk/web2c/uptexdir/kanji.h
+++ b/Build/source/texk/web2c/uptexdir/kanji.h
@@ -42,8 +42,13 @@ extern integer kcatcodekey (integer c);
extern integer multilenbuffchar (integer c);
extern void init_default_kanji (const_string file_str, const_string internal_str);
-/* for upTeX, e-upTeX, upBibTeX, upDVItype, upPLtoTF, and upTFtoPL */
+#ifdef UPBIBTEX
+/* for upBibTeX */
+#define initkanji() init_default_kanji("utf8", "euc")
+#else
+/* for upTeX, e-upTeX, upDVItype, upPLtoTF, and upTFtoPL */
#define initkanji() init_default_kanji("utf8", "uptex")
+#endif
/* for upDVItype */
#define setpriorfileenc() set_prior_file_enc()