diff options
author | Takuji Tanaka <KXD02663@nifty.ne.jp> | 2018-06-09 11:10:16 +0000 |
---|---|---|
committer | Takuji Tanaka <KXD02663@nifty.ne.jp> | 2018-06-09 11:10:16 +0000 |
commit | e8c5e48f98b3d80faa21f5bf0f1c60c220b3d9cf (patch) | |
tree | 755f76e5c2caf0c497a4f27e229efedcf49f06b3 /Build/source/texk/web2c/lib/texmfmp.c | |
parent | eb3ae6b768a053e55702f903f645be44f6ce7873 (diff) |
pTeX: Support UTF-8 file names on UTF-8 locale (Unix-like platform only)
git-svn-id: svn://tug.org/texlive/trunk@47967 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib/texmfmp.c')
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index 319c2f664f3..3b5b81a3593 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -710,11 +710,14 @@ maininit (int ac, string *av) enc = kpse_var_value("command_line_encoding"); get_command_line_args_utf8(enc, &argc, &argv); #endif +#if IS_pTeX && !IS_upTeX && !defined(WIN32) + ptenc_get_command_line_args(&argc, &argv); +#endif /* If the user says --help or --version, we need to notice early. And since we want the --ini option, have to do it before getting into the web (which would read the base file, etc.). */ -#if (IS_upTeX || defined(XeTeX)) && defined(WIN32) +#if ((IS_upTeX || defined(XeTeX)) && defined(WIN32)) || (IS_pTeX && !IS_upTeX && !defined(WIN32)) parse_options (argc, argv); #else parse_options (ac, av); |