summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsqlquery
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-10-26 19:24:13 +0100
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-26 19:25:04 +0100
commitb5efa250a6706821cf9969752a8fd063d1f206d6 (patch)
treea16d518eb9ea38cd0ecd5f7f03859b8a0ad6d631 /tests/auto/qsqlquery
parent83aa359398a8a510ac732410c918d31eedeeb4f8 (diff)
Autotest: fix building tst_qsqlquery.
'का' is not valid, since it encodes to more than 1 byte. Reviewed-by: Trust Me
Diffstat (limited to 'tests/auto/qsqlquery')
-rw-r--r--tests/auto/qsqlquery/tst_qsqlquery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsqlquery/tst_qsqlquery.cpp b/tests/auto/qsqlquery/tst_qsqlquery.cpp
index 8fe6f2eae9..a9b522f9a6 100644
--- a/tests/auto/qsqlquery/tst_qsqlquery.cpp
+++ b/tests/auto/qsqlquery/tst_qsqlquery.cpp
@@ -396,7 +396,7 @@ void tst_QSqlQuery::char1SelectUnicode()
QSKIP("Needs someone with more Unicode knowledge than I have to fix", SkipSingle);
if ( db.driver()->hasFeature( QSqlDriver::Unicode ) ) {
- QString uniStr( QChar( 'का' ) );
+ QString uniStr( QChar(0x0915) ); // DEVANAGARI LETTER KA
QSqlQuery q( db );
if ( db.driverName().startsWith( "QMYSQL" ) && tst_Databases::getMySqlVersion( db ).section( QChar('.'), 0, 0 ).toInt()<5 )