short strings are latin1 encoded not utf8
This commit is contained in:
parent
3ce39c273f
commit
bb2e9881ea
|
|
@ -181,7 +181,7 @@ QVariant Frame::readAmqpField(QDataStream &s, QAMQP::ValueType type)
|
||||||
s >> size;
|
s >> size;
|
||||||
buffer.resize(size);
|
buffer.resize(size);
|
||||||
s.readRawData(buffer.data(), buffer.size());
|
s.readRawData(buffer.data(), buffer.size());
|
||||||
return QString::fromUtf8(buffer.data(), size);
|
return QString::fromLatin1(buffer.data(), size);
|
||||||
}
|
}
|
||||||
case LongString:
|
case LongString:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue