Remove redundant information in QString::toLocal8Bit() docs

Pick-to: 6.5
Change-Id: I794621a599bfab85c6a19300225d0e1ad4948362
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Tor Arne Vestbø 2023-02-28 23:28:53 +01:00
parent 349bd4db22
commit 3b08cbff69

View File

@ -5454,14 +5454,13 @@ static QByteArray qt_convert_to_local_8bit(QStringView string);
\fn QByteArray QString::toLocal8Bit() const \fn QByteArray QString::toLocal8Bit() const
Returns the local 8-bit representation of the string as a Returns the local 8-bit representation of the string as a
QByteArray. The returned byte array is undefined if the string QByteArray.
contains characters not supported by the local 8-bit encoding.
\include qstring.qdocinc {qstring-local-8-bit-equivalent} {toUtf8} \include qstring.qdocinc {qstring-local-8-bit-equivalent} {toUtf8}
If this string contains any characters that cannot be encoded in the If this string contains any characters that cannot be encoded in the
locale, the returned byte array is undefined. Those characters may be local 8-bit encoding, the returned byte array is undefined. Those
suppressed or replaced by another. characters may be suppressed or replaced by another.
\sa fromLocal8Bit(), toLatin1(), toUtf8(), QStringEncoder \sa fromLocal8Bit(), toLatin1(), toUtf8(), QStringEncoder
*/ */