linux PIString fix
This commit is contained in:
@@ -205,7 +205,7 @@ void PIString::appendFromChars(const char * c, int s, const char * codepage) {
|
|||||||
UErrorCode e((UErrorCode)0);
|
UErrorCode e((UErrorCode)0);
|
||||||
UConverter * cc = ucnv_open(codepage, &e);
|
UConverter * cc = ucnv_open(codepage, &e);
|
||||||
if (cc) {
|
if (cc) {
|
||||||
if (s == -1) s = strlen(s);
|
if (s == -1) s = strlen(c);
|
||||||
enlarge(s);
|
enlarge(s);
|
||||||
// UChar * ucs = new UChar[s];
|
// UChar * ucs = new UChar[s];
|
||||||
// memset(ucs, 0, s * sizeof(UChar));
|
// memset(ucs, 0, s * sizeof(UChar));
|
||||||
|
|||||||
Reference in New Issue
Block a user