1 --- src/codecs/qutfcodec.cpp
2 +++ src/codecs/qutfcodec.cpp
3 @@ -165,7 +165,7 @@ public:
4 QString toUnicode(const char* chars, int len)
7 - result.setLength( len ); // worst case
8 + result.setLength( len + 1 ); // worst case
9 QChar *qch = (QChar *)result.unicode();