Support Unicode filenames on Windows
As of now,
fopen(3) which on Windows maps to
This makes it impossible to read or write files whose names include Unicode codepoints not representable in the user's default code page.
Is there any hope of upgrading Leptonica to use Unicode strings, either UTF-8 or UTF-16, for filenames, and to use
_wfopen on Windows?
To avoid breaking backwards compatibility, each API entry point accepting a filename would need to be duplicated, e.g. as