[flac-dev] [PATCH] use more windows API in src/share/utf8/utf8.c

Erik de Castro Lopo mle+la at mega-nerd.com
Mon Feb 8 03:05:16 PST 2016


lvqcl wrote:

> src/share/utf8/utf8.c  mentions that "On NT-based windows systems,
> we could use WideCharToMultiByte()/MultiByteToWideChar(CP_UTF8),
> but MS doesn't actually have a consistent API across win32".
> 
> flac/metaflac don't support Win98 since ver. 1.3.0, so it's
> possible to use system routines to convert to/from UTF-8.
> 
> 
> I removed all fprintf(stderr...) code from the win32 code because
> non-windows code in utf8.c doesn't print anything in such cases and
> simply returns an error.

Applied. Thanks.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list