[libdvdcss-devel] [PATCH] Win32: move to WideChars for cache folder

Jean-Baptiste Kempf jb at videolan.org
Mon Mar 11 13:59:31 CET 2013


On 11 Mar, Reimar Döffinger wrote :
> Jean-Baptiste Kempf <jb at videolan.org> wrote:
> 
> >On 11 Mar, Ivan Kalvachev wrote :
> >> - malloc psz_home, we have the size_needed. Bonus, psz_home
> >> definition could be shared with the unix codepath.
> >
> >Should be doable.
> >
> >> BTW, are mingw libc functions expecting utf8 encoding?
> >
> >Yes.
> 
> What? Definitely not all MingW versions. In fact I just a few days ago cross-compiled MPlayer under Debian (unstable) and open() definitely did not work with a UTF8 path.

Probably with a DEFINE. _wopen will always work, though.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdcss-devel mailing list