fix
This commit is contained in:
@@ -221,7 +221,7 @@ void PIString::appendFromChars(const char * c, int s, const char * codepage) {
|
||||
# else
|
||||
std::wstring_convert<std::codecvt_utf8<char16_t>, char16_t> ucs2conv;
|
||||
std::u16string ucs2 = ucs2conv.from_bytes(c, c+s);
|
||||
enlarge(ucs2.size());
|
||||
d.enlarge(ucs2.size());
|
||||
ucs2.copy((char16_t *)d.data(old_sz), ucs2.size());
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user