[tex-live] Problems with non-7bit characters in filename

Zdenek Wagner zdenek.wagner at gmail.com
Fri Jul 4 13:52:34 CEST 2014


2014-07-04 13:27 GMT+02:00 Ulrike Fischer <news3 at nililand.de>:
> Am Fri, 4 Jul 2014 11:00:27 +0100 schrieb Robin Fairbairns:
>
>> (hence the hiccups when you feed iso 8859-1 source to (lua|xe)tex.
>
> He is not feeding an 8859-1 source to luatex. The content of the
> file itself is irrelevant, it can be ascii.
>
> The problem is that the OS is feeding lua|xe|tex on the command line
> an 8bit file*name* and in TeXLive luatex doesn't like this.
>
I have not seen the luatex code but I could assume that the command
line arguments are treated as "wchar*" strings. In such a case they
cannot accept arbitrary octets. In addition, the file system may have
different encoding than the system locale. It is my case. I have linux
with UTF-8 but I have Windows disks mounted via Samba and their
encoding is CP1250. I see properly the file names containing accented
characters. I can safely "cp" such files to my local disk and the file
name will be the same but in UTF-8.
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/
>
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz




More information about the tex-live mailing list