# [tex-live] Unicode filename problem

Manuel Pégourié-Gonnard mpg at elzevir.fr
Sun Nov 2 11:05:13 CET 2008

Zdenek Wagner a écrit :
> ignored or illegal. In order to use such a file name you would have to
> change \catcode of a lot of characters to 12

Well, concerning non-ascii characters, changing the catcode is not the
only solution. Changing their definition can be more reliable in many
circumstances, such as:

\def\basename{inlämning}
\newcounter{foo}
%...
\input{\basename-\arabic{foo}}

OTOH, if you really want to use also specially catcoded ascii characters
such as %, of course you need to change their catcode at some point.

But if the question is only "how to use non-ascii chars", I think
changing the definition is probably a better solution.

Manuel.