UTF-8 Filenames on Windows

Manfred Lotz manfred at dante.de
Fri Jul 12 20:12:49 CEST 2019


On Fri, 12 Jul 2019 17:36:36 +0100
Joseph Wright <joseph.wright at morningstar2.co.uk> wrote:

> Hello all,
> 
> Testing some upcoming LaTeX kernel code, I find something unexpected
> on Windows. With a suitable file and minimal input
> 
> \openin1 foo€€€.eps %
> \ifeof1 %
> \T
> \else
> \F
> \fi
> \bye
> 
> I get "\T" for Windows TeX Live binaries (pdfTeX/XeTeX/LuaTeX) but
> "\F" on Linux or using a MiKTeX installation.
> 
> Other UTF-8 chars give a similar issue.
> 
> A bug or a feature?
> 
> Joseph

I'm not really an expert as life offered me to avoid Windows both
privately and in business life.

But I think that NTFS stores filenames in UTF-16.



-- 
Manfred




More information about the tex-live mailing list