FIX convert from system non Unicode to Unicode

This commit is contained in:
qPCR4vir 2016-03-25 00:48:49 +01:00
parent c963bb2a3e
commit a7c5870957

View File

@ -1156,10 +1156,10 @@ namespace nana
switch(encoding)
{
case unicode::utf8:
return utf32_to_utf8(wcstr);
case unicode::utf16:
return utf32_to_utf16(wcstr);
return utf16_to_utf8(wcstr);
case unicode::utf32:
return utf16_to_utf32(wcstr);
case unicode::utf16:
return wcstr;
}
}