diff options
author | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-21 12:00:29 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-21 12:00:29 +0000 |
commit | aca40d6e5da5736515748fc33ff100d9d2b2ee55 (patch) | |
tree | 2f9eed467db671b114f8d695697dade77990f37b /perllib/Problems.pm | |
parent | 0405110b80e5702927ebc9d5d818c23c266fb1fc (diff) |
Remove all encodes, they now cause double-encoding.
Diffstat (limited to 'perllib/Problems.pm')
-rw-r--r-- | perllib/Problems.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Problems.pm b/perllib/Problems.pm index 7b37fe7d7..127d88a30 100644 --- a/perllib/Problems.pm +++ b/perllib/Problems.pm @@ -262,7 +262,7 @@ sub problems_matching_criteria { my $areas_info = mySociety::MaPit::call('areas', \@councils); foreach my $problem (@$problems){ if ($problem->{council}) { - my @council_names = map { encode_utf8($areas_info->{$_}->{name}) } @{$problem->{council}} ; + my @council_names = map { $areas_info->{$_}->{name} } @{$problem->{council}} ; $problem->{council} = join(' and ', @council_names); } } |