aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
Diffstat (limited to 'perllib')
-rw-r--r--perllib/Page.pm2
-rw-r--r--perllib/Problems.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm
index 4e4e74169..8135d1306 100644
--- a/perllib/Page.pm
+++ b/perllib/Page.pm
@@ -562,7 +562,7 @@ sub display_problem_meta_line($$) {
$problem->{council} =~ s/\|.*//g;
my @councils = split /,/, $problem->{council};
my $areas_info = mySociety::MaPit::call('areas', \@councils);
- my $council = join(' and ', map { encode_utf8($areas_info->{$_}->{name}) } @councils);
+ my $council = join(' and ', map { $areas_info->{$_}->{name} } @councils);
$out .= '<small class="council_sent_info">';
$out .= $q->br() . sprintf(_('Sent to %s %s later'), $council, prettify_duration($problem->{whensent}, 'minute'));
$out .= '</small>';
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);
}
}