diff options
author | Frans Englich <frans.englich@nokia.com> | 2010-04-17 19:08:23 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2010-04-17 19:08:23 (GMT) |
commit | 04fbaf8ed7cb3212917b8036c9da42552b97751a (patch) | |
tree | 88e8f5c1f3c21f032cddf6b753faa28d9c17e62f | |
parent | 048e0ba0be9c6aec608706e15eda040f7219c420 (diff) | |
download | Qt-04fbaf8ed7cb3212917b8036c9da42552b97751a.zip Qt-04fbaf8ed7cb3212917b8036c9da42552b97751a.tar.gz Qt-04fbaf8ed7cb3212917b8036c9da42552b97751a.tar.bz2 |
Document that toUcs4 is not null-terminated.
Task-number: QTBUG-9239
Reviewed-by: joao
Conflicts:
src/corelib/tools/qstring.cpp
-rw-r--r-- | src/corelib/tools/qstring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index 2f12b80..0ae2332 100644 --- a/src/corelib/tools/qstring.cpp +++ b/src/corelib/tools/qstring.cpp @@ -3674,7 +3674,7 @@ QByteArray QString::toUtf8() const Returns a UCS-4/UTF-32 representation of the string as a QVector<uint>. UCS-4 is a Unicode codec and is lossless. All characters from this string - can be encoded in UCS-4. + can be encoded in UCS-4. The vector is not null terminated. \sa fromUtf8(), toAscii(), toLatin1(), toLocal8Bit(), QTextCodec, fromUcs4(), toWCharArray() */ |