projects
/
fido.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
018d74f
)
MSGBASE: sqlite database always contains utf-8
author
Sebastian
<basti@notizbuch>
Mon, 11 Aug 2014 22:57:02 +0000
(
00:57
+0200)
committer
Sebastian
<basti@notizbuch>
Mon, 11 Aug 2014 22:57:02 +0000
(
00:57
+0200)
modules/MSGBASE.pm
patch
|
blob
|
history
diff --git
a/modules/MSGBASE.pm
b/modules/MSGBASE.pm
index 01c7b1317e2a13bc699e435631919adf98297ef6..83d291c925b1dc3b32797f8b40e611fffc211e65 100644
(file)
--- a/
modules/MSGBASE.pm
+++ b/
modules/MSGBASE.pm
@@
-78,7
+78,8
@@
sub area_open($)
my $dbh = DBI->connect("dbi:SQLite:dbname=$file",
$CONFIG::config{dbase_user},
$CONFIG::config{dbase_pass},
- { 'AutoCommit' => 0, 'PrintError' => 1 }
+ { 'AutoCommit' => 0, 'PrintError' => 1,
+ 'sqlite_unicode' => 1 }
) or die("Can't connect to $file");
$dbh->do("CREATE TABLE IF NOT EXISTS '$table' (
'id' INTEGER PRIMARY KEY,