FIX convert from system non Unicode to Unicode
This commit is contained in:
parent
c963bb2a3e
commit
a7c5870957
@ -1156,10 +1156,10 @@ namespace nana
|
|||||||
switch(encoding)
|
switch(encoding)
|
||||||
{
|
{
|
||||||
case unicode::utf8:
|
case unicode::utf8:
|
||||||
return utf32_to_utf8(wcstr);
|
return utf16_to_utf8(wcstr);
|
||||||
case unicode::utf16:
|
|
||||||
return utf32_to_utf16(wcstr);
|
|
||||||
case unicode::utf32:
|
case unicode::utf32:
|
||||||
|
return utf16_to_utf32(wcstr);
|
||||||
|
case unicode::utf16:
|
||||||
return wcstr;
|
return wcstr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user