Test UTF8ToUTF16 and UTF16ToUTF8.

This commit is contained in:
Victor Zverovich
2014-04-30 07:38:43 -07:00
parent 089974eb92
commit c16217bf9b
3 changed files with 21 additions and 3 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ void fmt::internal::FormatSystemErrorMessage(
reinterpret_cast<LPWSTR>(system_message.ptr()), 0, 0)) {
UTF16ToUTF8 utf8_message;
if (!utf8_message.Convert(system_message.c_str())) {
out << message << ": " << utf8_message;
out << message << ": " << c_str(utf8_message);
return;
}
}