[XeTeX] graphic filename in Chinese

Jjgod Jiang gzjjgod at gmail.com
Fri Apr 24 10:06:35 CEST 2009

Hi Akira,

On Fri, Apr 24, 2009 at 3:21 PM, Akira Kakuto <kakuto at fuk.kindai.ac.jp> wrote:
> In my test,
> \XeTeXpicfile "\344\275\240\345\245\275.jpg" \bye
> can include the picture file without any problem
> on windows. See an attached fname.tar.gz.
> (I've written here the name with octal numbers, since
> my mail program does not know utf8 encoding.)
> Note that the file name must also be utf8.
> The problem is that it is not easy to make a
> file with utf8 name.

Wouldn't it be nice if we can patch XeTeX for win32 a little bit so
that it can convert the filename string from UTF-8 back to the
encoding fopen/OpenFile expected? Will it be too difficult from your

- Jiang

More information about the XeTeX mailing list