> For a vector or an array I'd agree but a string is a > bit different. I'll change my code to > write(pString->ucs_str(), pString->size * sizeof(UT_UCSChar)); assert(string.size() == strlen (string.c_str())); This should always be necessarily the case. Substitute ucs_str() and wcstrlen or whatever for UCS strings. Dom
- UT_UCS2String problems Andrew Dunbar
- Re: UT_UCS2String problems Joaquin Cuenca Abela
- Re: UT_UCS2String problems Andrew Dunbar
- Re: UT_UCS2String problems Joaquin Cuenca Abela
- Re: UT_UCS2String problems Dom Lachowicz
- Re: UT_UCS2String problems Dom Lachowicz
- Re: UT_UCS2String problems Dom Lachowicz
