Bug: On Windows, Unicode file name not supported by tex binaries

ttk at t-lab.opal.ne.jp ttk at t-lab.opal.ne.jp
Sat Feb 24 08:20:15 CET 2024


Hi,

I wrote a patch to fix the issue of Unicode filenames on XeTeX.

https://www.tug.org/svn/texlive?revision=70121&view=revision
https://www.tug.org/svn/texlive?revision=70123&view=revision


I think the patch could fix the issue.

Best,
Takuji

> On 2023/11/14 22:36, ttk at t-lab.opal.ne.jp wrote:

> > engine:
> > (A) pdftex -ini -interaction nonstopmode -jobname=foo BananaXXX.tex
> > (B) euptex -ini -interaction nonstopmode -jobname=foo BananaXXX.tex
> > (C) xetex -ini -interaction nonstopmode -jobname=foo BananaXXX.tex
> > 
> > file name:
> > (1) Bananaбанан.tex (2byte UTF-8)
> > (2) Bananaバナナ.tex (3byte UTF-8)
> > (3) Banana🍌.tex (4byte UTF-8)
> > 
> > The input file is plain tex with UTF-8 text ::
> > ```
> > \catcode`\{=1
> > \catcode`\}=2
> > \immediate\write16{Bananaбананバナナ🍌}
> > \end
> > ```
> > 
> > The results on my environment (both Msys2, WSL)
> > (A) : OK for (1)(2)(3)
> > (B) : OK for (1)(2)(3)
> > (C) : OK for (1)(2), fail for (3)



More information about the tex-live mailing list.