qt5base-lts/tests/auto/sql
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
..
kernel Fix encoding mismatches in tst_QSqlQuery 2012-05-07 05:03:17 +02:00
models QSqlQueryModel::setQuery() don't use deprecated reset() 2012-04-23 19:20:19 +02:00
sql.pro Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00