summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-06 14:48:46 -0700
committerQt by Nokia <qt-info@nokia.com>2012-05-07 05:03:17 +0200
commitf28ba2be974eab5397f6b9d554c3a56b01fed33c (patch)
treeeb7d8bf078e6060bfa49d093d5aa28e7f614c84d /src
parentd0e7014429ff40b535a07801679f5fc66cf7cf12 (diff)
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>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions