[poppler] Utils - Fix UTF-16 file name on Windows environment

Albert Astals Cid aacid at kde.org
Tue Jun 19 22:21:55 UTC 2018


El dimarts, 19 de juny de 2018, a les 18:06:24 CEST, Thibaut Brard va 
escriure:
> Hello,
> 
> I faced few problem with pdftohtml on WIN32 environment when treating files
> name using UTF-16 characters in there name
> => The function "fopen" was called to create files instead of "openFile"
> (from goo/gfile.h)
> 
> Please find in attachment the patch to fix that issue
> 
> [PATCH] Utils: use openFile instead of fopen for _WIN32 environment
> compatibility (UTF-16 file name)

Thanks for the patch.

It does make some sense given that function exists in the first place but my 
experience with windows is veeeeeeeeeeeeery limited so I'd like for someone 
else to vouch for this before landing it.

Cheers,
  Albert

> 
> 
> --
> Cordialement / Regards
> Thibaut Brard






More information about the poppler mailing list