Displaying 3 results from an estimated 3 matches for "flac_use_fopen_utf8".
2013 Mar 17
1
Patch to add Unicode filename support for win32 flac
...same signature
> > as fopen, but does utf8->utf16 conversion internally, then calls wfopen>
> > #endif
> >
> > and replace "fopen" with "FOPEN" everywhere else.
>
> Don't do that, it leaks into the system headers and breaks mingw if
> FLAC_USE_FOPEN_UTF8 is defined.
>
> Call the wrappers directly instead of using a macro.
+1
Yep, I prefer not to have too much #ifdef hackery.
In my recent replacement of all the sprintf/_snprintf stuff, I relaced all the
calls with a call to flac_snprintf() and localised #ifdef hackery to the
implementatio...
2013 Mar 17
3
Patch to add Unicode filename support for win32 flac
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 17.03.2013 18:55, JonY wrote:
> On 3/17/2013 18:37, Erik de Castro Lopo wrote:
>> JonY wrote:
>>
>>> On 3/17/2013 10:33, Janne Hyv?rinen wrote:
>>>> Here's a patch that makes MSVC compiled flac.exe able to use
>>>> wildcards and encode/decode files with Unicode characters in
>>>>
2013 Mar 18
0
flac-dev Digest, Vol 100, Issue 42
...e same signature
> > as fopen, but does utf8->utf16 conversion internally, then calls wfopen>
> > #endif
> >
> > and replace "fopen" with "FOPEN" everywhere else.
>
> Don't do that, it leaks into the system headers and breaks mingw if
> FLAC_USE_FOPEN_UTF8 is defined.
>
> Call the wrappers directly instead of using a macro.
>
>
>
> ---------- Forwarded message ----------
> From: Erik de Castro Lopo <mle+la at mega-nerd.com>
> To: flac-dev at xiph.org
> Cc:
> Date: Mon, 18 Mar 2013 09:37:56 +1100
> Subject: Re: [...