[Digikam-devel] [Bug 195006] national charaters not accepted in database file path

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Mar 25 20:13:36 BST 2012


https://bugs.kde.org/show_bug.cgi?id=195006

--- Comment #27 from Marcel Wiesweg <marcel.wiesweg at gmx.de> ---
qsql_slite.cpp:508
bool QSQLiteDriver::open(const QString & db, const QString &, const QString &,
const QString &, int, const QString &conOpts)
...
    if (sqlite3_open_v2(db.toUtf8().constData(), &d->access, openMode, NULL) ==
SQLITE_OK) {
...

QString is UTF-16 internally. So if the QString we pass in the beginning is
correct Unicode, it is not changed in any way I can see. This is what I mean by
100% unicode.
Obviously something goes wrong, but I dont know where and particularly, I dont
know what we could change.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list