diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-09-18 17:16:02 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-09-18 17:16:02 +0000 |
commit | e819cecc04df73c709499de7352d79a6384e00d6 (patch) | |
tree | a0a40a92b1dc7730ffdd463ebdb1de9000966faf /Build | |
parent | 46c5c10b90d04832f110e30295ce5ab109c2be51 (diff) |
mendexk: Use "sjis" file encoding (from W32TeX)
git-svn-id: svn://tug.org/texlive/trunk@27694 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/mendexk/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/mendexk/main.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/mendexk/ChangeLog b/Build/source/texk/mendexk/ChangeLog index b48370dab59..b7543c6a21d 100644 --- a/Build/source/texk/mendexk/ChangeLog +++ b/Build/source/texk/mendexk/ChangeLog @@ -1,3 +1,7 @@ +2012-09-06 Peter Breitenlohner <peb@mppmu.mpg.de> + + * main.c [WIN32]: Use "sjis" file encoding (from W32TeX). + 2012-07-28 Peter Breitenlohner <peb@mppmu.mpg.de> * convert.c, pageread.c, styfile.c: Handle input files with diff --git a/Build/source/texk/mendexk/main.c b/Build/source/texk/mendexk/main.c index 3afd43ce5b1..a6436ce4009 100644 --- a/Build/source/texk/mendexk/main.c +++ b/Build/source/texk/mendexk/main.c @@ -31,9 +31,11 @@ int main(int argc, char **argv) int i,j,cc=0,startpagenum=-1,ecount=0; const char *envbuff; - set_enc_string(NULL, "EUC"); #ifdef WIN32 - _setmaxstdio(2048); + _setmaxstdio(2048); + set_enc_string("sjis", "euc"); +#else + set_enc_string(NULL, "euc"); #endif kpse_set_program_name(argv[0], "mendex"); kp_ist.var_name = "INDEXSTYLE"; |