[Zlib-devel] zlib gzopen_w function added

Mark Adler madler at madler.net
Sat Mar 17 12:31:22 EDT 2012


On Mar 17, 2012, at 9:08 AM, Jan Seiffert wrote:
> And to include an UTF-8 to UTF-16 transform in the normal func... no,
> would break code which expects the handling as is.

Jan,

That is exactly what I was concerned about in the first approach (always do a UTF-8 to UTF-16 conversion in gzopen when on Windows), hence why I tried to duplicate what appears to be the standard approach in Windows.  However I don't know enough to know what actual problems might occur.  What specifically might break in that scenario?

Mark





More information about the Zlib-devel mailing list