summaryrefslogtreecommitdiff
path: root/Build/source/texk/mendexk/main.c
diff options
context:
space:
mode:
authorTakuji Tanaka <KXD02663@nifty.ne.jp>2018-05-15 14:10:08 +0000
committerTakuji Tanaka <KXD02663@nifty.ne.jp>2018-05-15 14:10:08 +0000
commite2838ee9b47943f5cb364d982eec447a67fdeeb6 (patch)
tree486e5b9415da6b04be779f9ac2a32cf4fc8710b9 /Build/source/texk/mendexk/main.c
parent0f9ed65aef567e2cc00f1b9abf7201a9466bad2f (diff)
mendex ver3.0, set default encoding of internal buffer UTF-8
git-svn-id: svn://tug.org/texlive/trunk@47721 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/mendexk/main.c')
-rw-r--r--Build/source/texk/mendexk/main.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/Build/source/texk/mendexk/main.c b/Build/source/texk/mendexk/main.c
index 35c75b01528..520f541e7f5 100644
--- a/Build/source/texk/mendexk/main.c
+++ b/Build/source/texk/mendexk/main.c
@@ -19,7 +19,7 @@ char *styfile,*idxfile[256],*indfile,*dicfile,*logfile;
#endif
KpathseaSupportInfo kp_ist,kp_dict;
-#define VERSION "version 2.6f [14-Aug-2009]"
+#define VERSION "version 3.0 [15-May-2018]"
int main(int argc, char **argv)
{
@@ -31,11 +31,9 @@ int main(int argc, char **argv)
#ifdef WIN32
_setmaxstdio(2048);
- set_enc_string("sjis", "euc");
- sjisterminal = 0;
-#else
- set_enc_string(NULL, "euc");
+ sjisterminal = 0;
#endif
+ set_enc_string(NULL, "uptex");
kpse_set_program_name(argv[0], "mendex");
p = getenv ("PTEX_KANJI_ENC");
@@ -176,7 +174,7 @@ int main(int argc, char **argv)
#endif
case 'U':
- set_enc_string("UTF8", "uptex");
+ set_enc_string("UTF8", NULL);
break;