summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/lua/luainit.w
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-01-01 07:04:48 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-01-01 07:04:48 +0000
commit6084299f81733336d54c383f7129bb4a7e05e8db (patch)
tree71280744164008a1df781c93aa4f62f7d5e5e89f /Build/source/texk/web2c/luatexdir/lua/luainit.w
parent9284a05915565ebf1a4eb6d7a0172ba9cea233a4 (diff)
Enable to use file names with multi-byte characters in LuaTeX on Windows (Windows only), From TANAKA Takuji.
git-svn-id: svn://tug.org/texlive/trunk@32534 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua/luainit.w')
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/luainit.w5
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/luainit.w b/Build/source/texk/web2c/luatexdir/lua/luainit.w
index e86f7f8d05b..57a46aa1192 100644
--- a/Build/source/texk/web2c/luatexdir/lua/luainit.w
+++ b/Build/source/texk/web2c/luatexdir/lua/luainit.w
@@ -806,7 +806,12 @@ void lua_initialize(int ac, char **av)
synctexoption = SYNCTEX_NO_OPTION;
/* parse commandline */
+#ifdef WIN32
+ get_command_line_args_utf8("utf-8", &argc, &argv);
+ parse_options(argc, argv);
+#else
parse_options(ac, av);
+#endif
if (lua_only)
shellenabledp = true;