Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed utf8 handling
  • Loading branch information
davorg committed Nov 28, 2014
1 parent 3c6a676 commit 9b70c98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/get_constit_mapit
Expand Up @@ -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');
Expand Down

0 comments on commit 9b70c98

Please sign in to comment.