We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28d7e99 commit 4dc9a15Copy full SHA for 4dc9a15
src/mbtiles.cpp
@@ -33,6 +33,11 @@ void MBTiles::openForWriting(string &filename) {
33
} catch(runtime_error &e) {
34
cout << "Couldn't write SQLite application_id (not fatal): " << e.what() << endl;
35
}
36
+ try {
37
+ db << "PRAGMA encoding = 'UTF-8';";
38
+ } catch(runtime_error &e) {
39
+ cout << "Couldn't set SQLite default encoding (not fatal): " << e.what() << endl;
40
+ }
41
try {
42
db << "PRAGMA journal_mode=OFF;";
43
0 commit comments