commit | 0b429b609c4a5fec8568dc9716e920533e13ab74 | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Fri Sep 17 08:31:27 2021 -0400 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Fri Sep 17 08:31:27 2021 -0400 |
tree | c6535acc1958e7964635c7ad3d1a7ccf2c1483fb | |
parent | 6e1ef98a04e5f8528ffc8f17c6674e5dee9c43ad [diff] |
[builds/windows] Try both wide and narrow `CreateFile` Windows handles wchar_t* UTF-16 and char* ANSI (presently UTF-8) filenames using alternative -A and -W API. We'll try them both when opening a file. This means that you should not worry about about conversions. Fixes #1098 and !76. * builds/windows/ftsystem.c (FT_Stream_Open): Call alternative `CreateFile` in the case of failure.