qt5base-lts/tests/auto/sql/kernel
Thiago Macieira f28ba2be97 Fix encoding mismatches in tst_QSqlQuery
The file has been UTF-8 encoded for years, which means that the line:
    QString longerBLOB( "abcdefghijklmnopqrstuvxyz¿äëïöü¡  " );

Loaded a mojibake into QString. Then, this data was stored as a blob
in the database by calling longerBLOB.toLatin1() (a QByteArray), and
reloaded for check using toString().

Once the QString default codec changes to UTF-8, the mojibake would
get fixed, and the test would fail. Make sure it doesn't happen.

Change-Id: If12d6124c973e4a1c1b7978d90fffb9aa5545c66
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-05-07 05:03:17 +02:00
..
qsql Make tst_qsql.cpp independent of QtWidgets 2012-03-11 00:08:33 +01:00
qsqldatabase Don't use obsolete qVariantValue, qVariantCanConvert, etc. 2012-05-02 08:30:59 +02:00
qsqldriver QTBUG-1363: fix QSqlField.length() for ODBC 2012-04-13 21:26:07 +02:00
qsqlerror Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsqlfield Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsqlquery Fix encoding mismatches in tst_QSqlQuery 2012-05-07 05:03:17 +02:00
qsqlrecord Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsqlthread Fix compilation of tst_QSqlThread: no need to use QBasicAtomicInt here 2012-03-24 17:07:52 +01:00
kernel.pro Fix tst_qsql crashes on Mac OS X 2011-12-02 17:35:11 +01:00