[tex-live] Unicode filename problem

Manuel Pégourié-Gonnard mpg at elzevir.fr
Sun Nov 2 10:54:57 CET 2008

Reinhard Kotucha a écrit :
> It seems that tex itself has no problems with UTF-8.  But I'm not sure
> whether I tested it correctly.
TeX itself has no problem with filenames in utf-8 since  filename isn't
really in utf-8. A filename is a sequence of non-zero non-47 (/) bytes
(not characters). And since TeX sees only bytes and not characters, it
is OK in principle (except for bytes specially \catcode'd as Zdenek says).

> Anyway, I'm wondering whther it's a good idea to use non-ASCII
> characters in file names at all.  They are only good for headaches if
> you copy a file from one machine to another.
I think so. In general it is imho a bad idea to use non-ASCII except in
formats that allow you to mention the encoding used (such as email, or
LaTeX sources using inputenc). And (Unix) filesystems have no notion of
name encoding iirc.


More information about the tex-live mailing list