ge0rg / libmpq

Libmpq is a library for reading MPQ files (archives used by Blizzard) which can be easily used in applications.
https://libmpq.org/
GNU General Public License v2.0
76 stars 14 forks source link

`libmpq__archive_open`: Support Unicode paths on Windows #5

Open glebm opened 3 years ago

glebm commented 3 years ago

Currently libmpq__archive_open does not support Unicode paths on Windows.

The support would be easy to implement: convert the path to UTF-16 and call _wfopen instead of fopen.

I can tackle this at some point.