summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvi2tty/dvi2tty-5.3.4/dvi2tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvi2tty/dvi2tty-5.3.4/dvi2tty.c')
-rw-r--r--Build/source/texk/dvi2tty/dvi2tty-5.3.4/dvi2tty.c4
1 files changed, 4 insertions, 0 deletions
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) {