diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-09-18 17:12:44 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-09-18 17:12:44 +0000 |
commit | 13d6071356cd521580ae11ead7c642c1956b2f68 (patch) | |
tree | c7ff1c9fe43eaaa555cb8f2f01cfb5c18f14ee80 /Build/source/texk/dvi2tty | |
parent | a0bae0b4bddbe678140c83ecc936dafcd2bf1849 (diff) |
dvi2tty: Use "sjis" file encoding (from W32TeX)
git-svn-id: svn://tug.org/texlive/trunk@27692 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvi2tty')
3 files changed, 23 insertions, 0 deletions
diff --git a/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/ChangeLog b/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/ChangeLog index 2a2d6cd9fb7..579a8cf1487 100644 --- a/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/ChangeLog +++ b/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/ChangeLog @@ -1,3 +1,7 @@ +2012-09-06 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-07-win32 [WIN32]: Use "sjis" file encoding (from W32TeX). + 2012-07-10 Peter Breitenlohner <peb@mppmu.mpg.de> * patch-07-win32 (new): Cast arguments to avoid MSVC compiler diff --git a/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/patch-07-win32 b/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/patch-07-win32 index d85bf5cdea3..826ee1ab667 100644 --- a/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/patch-07-win32 +++ b/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/patch-07-win32 @@ -1,3 +1,18 @@ +diff -ur dvi2tty-5.3.4.orig/dvi2tty.c dvi2tty-5.3.4/dvi2tty.c +--- dvi2tty-5.3.4.orig/dvi2tty.c 2012-06-22 10:12:43.000000000 +0200 ++++ dvi2tty-5.3.4/dvi2tty.c 2012-09-06 21:51:41.000000000 +0200 +@@ -164,7 +164,11 @@ + Argc = argc; + Argv = argv; + ++#ifdef WIN32 ++ set_enc_string ("sjis", "default"); ++#else + set_enc_string (NULL, "default"); ++#endif + getargs(); /* read command line arguments */ + #if defined(THINK_C) + if (inputfromfile) { diff -ur dvi2tty-5.3.4.orig/dvistuff.c dvi2tty-5.3.4/dvistuff.c --- dvi2tty-5.3.4.orig/dvistuff.c 2012-04-26 09:20:32.000000000 +0200 +++ dvi2tty-5.3.4/dvistuff.c 2012-07-10 14:18:30.000000000 +0200 diff --git a/Build/source/texk/dvi2tty/dvi2tty-5.3.4/dvi2tty.c b/Build/source/texk/dvi2tty/dvi2tty-5.3.4/dvi2tty.c index 54eac225c97..2fee22892b0 100644 --- a/Build/source/texk/dvi2tty/dvi2tty-5.3.4/dvi2tty.c +++ b/Build/source/texk/dvi2tty/dvi2tty-5.3.4/dvi2tty.c @@ -164,7 +164,11 @@ int main(int argc, char **argv) Argc = argc; Argv = argv; +#ifdef WIN32 + set_enc_string ("sjis", "default"); +#else set_enc_string (NULL, "default"); +#endif getargs(); /* read command line arguments */ #if defined(THINK_C) if (inputfromfile) { |