skins2(Win): fix multibyte issue for vlt filename (zip format)
commit1ac910a5f378a77d88469facf830055877701d3c
authorErwan Tulou <erwan10@videolan.org>
Thu, 11 Jun 2015 18:53:06 +0000 (11 20:53 +0200)
committerErwan Tulou <erwan10@videolan.org>
Fri, 12 Jun 2015 19:39:54 +0000 (12 21:39 +0200)
treefab326a5d427ca5fa096cacf23f510a395af4ce0
parent01bf3662b1af1673cc5f6efbb355a698983a7651
skins2(Win): fix multibyte issue for vlt filename (zip format)

On Windows, unzOpen() doesn't fully support Microsoft wide char.
So, use unzOpen2() with a callback to use vlc_fopen() instead of
the default fopen().

This fixes situations where a skin filename or path contains
e.g Japanese characters whatever the Windows locale.

For OS2 and Linux, no functional change.
modules/gui/skins2/src/theme_loader.cpp