mirror of
https://github.com/taglib/taglib.git
synced 2025-07-25 08:24:29 -04:00
Don't decode redundant UTF-8 sequences in Win32.
Linux and OS X are working well and won't be affected.
This commit is contained in:
@ -88,7 +88,7 @@ namespace
|
||||
#ifdef _WIN32
|
||||
|
||||
len = ::MultiByteToWideChar(
|
||||
CP_UTF8, 0, src, static_cast<int>(srcLength), dst, static_cast<int>(dstLength));
|
||||
CP_UTF8, MB_ERR_INVALID_CHARS, src, static_cast<int>(srcLength), dst, static_cast<int>(dstLength));
|
||||
|
||||
#else
|
||||
|
||||
|
Reference in New Issue
Block a user