[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#612675: Re[2]: Bug#612675: libkio5: KTar class have broken UTF-8 support(longlink)



> > Can you point to some of those checks? I've looked through the code again
> > and found nothing related to QString. There are only some of them related
> > to QByteArray.
> 
> But why do you think QByteArray checks are not affected?

Because QByteArray is intended to store raw bytes [1], while QString stores
charactes which may be wider than 8-bit. Current implementation uses 16-bit
QChars [2].

[1] http://doc.qt.nokia.com/4.6/qbytearray.html#details
[2] http://doc.qt.nokia.com/4.6/qstring.html#details

Reply to: