Skip to content

Commit

Permalink
Merge pull request #37477 from elpaso/bugfix-gh37463-gpkg-storage-utf…
Browse files Browse the repository at this point in the history
…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 1eb778e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/providers/ogr/qgsgeopackageprojectstorage.cpp
Expand Up @@ -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 */
Expand Down

0 comments on commit 1eb778e

Please sign in to comment.