diff OrthancServer/DatabaseWrapper.cpp @ 1717:3926e6317a43 db-changes

SetIdentifierTagInternal
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Oct 2015 17:45:34 +0200
parents a7745f3a2cc4
children a7c05bbfaf6a
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.cpp	Sat Oct 17 12:16:27 2015 +0200
+++ b/OrthancServer/DatabaseWrapper.cpp	Mon Oct 19 17:45:34 2015 +0200
@@ -268,6 +268,8 @@
 
   void DatabaseWrapper::Open()
   {
+    db_.Execute("PRAGMA ENCODING=\"UTF-8\";");
+
     // Performance tuning of SQLite with PRAGMAs
     // http://www.sqlite.org/pragma.html
     db_.Execute("PRAGMA SYNCHRONOUS=NORMAL;");