Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix GPKG project storage with UTF8 names on windows
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Jun 29, 2020
1 parent 0219ef3 commit eef2a7b
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 eef2a7b

Please sign in to comment.