Skip to content
Permalink
Browse files

Merge pull request #37477 from elpaso/bugfix-gh37463-gpkg-storage-utf…

…8-on-windows

Fix GPKG project storage with UTF8 names on windows
  • Loading branch information
elpaso committed Jun 29, 2020
2 parents fb9df9f + 69bcbee commit 1eb778eacf0765928477aaf20ffbc036f831a6b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/providers/ogr/qgsgeopackageprojectstorage.cpp
@@ -341,7 +341,7 @@ QString QgsGeoPackageProjectStorage::_executeSql( const QString &uri, const QStr
char *errmsg = nullptr;
( void )sqlite3_exec(
db.get(), /* An open database */
sql.toLocal8Bit(), /* SQL to be evaluated */
sql.toUtf8(), /* SQL to be evaluated */
nullptr, /* Callback function */
nullptr, /* 1st argument to callback */
&errmsg /* Error msg written here */

0 comments on commit 1eb778e

Please sign in to comment.
You can’t perform that action at this time.