FIY: libzip and UTF-8 on Win32

Lubomir I. Ivanov neolit123 at
Wed Feb 18 16:59:07 PST 2015

On 19 February 2015 at 01:03, Lubomir I. Ivanov <neolit123 at> wrote:
> but here is the patch that i sent to the ML that fixes a compile bug
> for me (attached).

On 19 February 2015 at 02:15, Thomas Klausner <tk at> wrote:
> Hi Lubomir!
> On Thu, Feb 19, 2015 at 12:56:41AM +0200, Lubomir I. Ivanov wrote:
>> here is a small patch that fixes an error for me (attached).
>> Signed-off-by: Lubomir I. Ivanov <neolit123 at>
>> reason - mingw also requires:
>> #include <fcntl.h>
>> everything else seems to build fine.
> Thank you, I've committed this patch.

(doesn't seem to be pushed yet though)

>> a question:
>> ok, after building the library, i've created a zip file on win32,
>> named with special characters (UTF-16 in this case as the OS uses
>> that) and then tried opening it from a UTF-8 encoded source file with
>> zip_open("some-name-with-special-chars"...) and it works! so, i guess
>> there is support for this after all?
> It was very recently added based on patches by Andrew Molyneux.
>> can somebody tell me at what exact version (MAJOR, MINOR, PATCH) was this added?
> There is no release for this version yet, just the code in the hg
> repository. It'll probably be called 1.0 when it's released.


More information about the subsurface mailing list