From 9b70c980a5434285978fbf65ef5c9bea27274b74 Mon Sep 17 00:00:00 2001 From: Dave Cross Date: Fri, 28 Nov 2014 21:34:06 +0000 Subject: [PATCH] Fixed utf8 handling --- bin/get_constit_mapit | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/get_constit_mapit b/bin/get_constit_mapit index bed0f48c97..32c794b430 100755 --- a/bin/get_constit_mapit +++ b/bin/get_constit_mapit @@ -18,6 +18,7 @@ my $data = decode_json($json); my $sch = TwittElection::Schema->connect( 'dbi:mysql:twittelection', $ENV{TE_USER}, $ENV{TE_PASS}, + { mysql_enable_utf8 => 1 }, ) or die; my $con_rs = $sch->resultset('Constituency');