[luatex] More on loading non-ascii filenames on windows

Patrick Gundlach patrick at gundla.ch
Thu Oct 4 21:40:20 CEST 2018



> Am 30.09.2018 um 11:45 schrieb Patrick Gundlach <patrick at gundla.ch>:
> 
> Hello again,
> 
> I am still struggling with loading images with filenames on windows. (My test environment is windows 7, 32 bit)
> 
> I now bypass lua file system to build a file list, so I have all filenames encoded as UTF-8. Now I try to pass a filename to 
> 
> img.scan{...}
> 
> But as I understand, Windows is not happy about the UTF8 filenames, so what should I do?
> 
> ! error:  (pdf backend): reading image file 'Z:\foo\cöw.pdf' failed
> !  ==> Fatal error occurred, no output PDF file produced!
> 
> I have tried to pass the CP1250 value for ö (\f6) but this gives me:
> 
> I/O Error: Couldn't open file 'c<f6>w.pdf': No error.
> 
> ! error:  (pdf inclusion): reading image failed
> !  ==> Fatal error occurred, no output PDF file produced!
> 
> 
> So, I am clueless....


not clueless anymore:

I have reported to the teelive mailing list and got (thanks Akira) a luatex binary that allows utf-8 filenames on windows.


Thanks all who have helped me!

  Patrick





More information about the luatex mailing list