0

There are lots of questions about encoding in general, but none that I have found are related to umlauts in filenames.

On Windows, LuaLaTeX cannot handle umlauts:

PS> lualatex ümlaut.tex
This is LuaTeX, Version 1.07.0 (TeX Live 2018/W32TeX)
 restricted system commands enabled.
! String contains an invalid utf-8 sequence.
<*> 
 mlaut.tex

I suspect it's because the filesystem is storing the filename in UTF-16 and passes it this way to lualatex which then fails.

We have a rather involved workflow, of which LaTeX is just one part. Changing filenames would have wide reaching consequences. Is there some workaround that allows us to handle these edge cases with umlauts?

2
  • I cannot reproduce your problem on MiKTeX for Windows. Have you tried updating your files? TeX Live 2018 seems a bit out of date. The current stable version of LuaTeX is 1.12 if I remember correctly.
    – Ingmar
    Commented Dec 15, 2020 at 16:41
  • 2
    Update your texsystem. This has been resolved in texlive 2020. Commented Dec 15, 2020 at 16:45

1 Answer 1

1

Just so I can mark this as "answered", I'll post Ulrike's comment, which I could confirm today:

Upgrade to texlive-2020.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .