From 23d3d977348d150ab66267f86f8775cc1150efd4 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Thu, 21 Oct 2010 17:34:36 -0500 Subject: [PATCH] fixed utf8 bug --- lib/Lacuna.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Lacuna.pm b/lib/Lacuna.pm index bf16698f..227e9088 100644 --- a/lib/Lacuna.pm +++ b/lib/Lacuna.pm @@ -10,7 +10,7 @@ useall __PACKAGE__; our $VERSION = 2.2806; my $config = Config::JSON->new('/data/Lacuna-Server/etc/lacuna.conf'); -my $db = Lacuna::DB->connect($config->get('db/dsn'),$config->get('db/username'),$config->get('db/password')); +my $db = Lacuna::DB->connect($config->get('db/dsn'),$config->get('db/username'),$config->get('db/password'), { mysql_enable_utf8 => 1}); my $cache = Lacuna::Cache->new(servers => $config->get('memcached')); #use IO::File; -- 2.51.2