aboutsummaryrefslogtreecommitdiffstats
path: root/web/alert.cgi
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-21 12:00:29 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-21 12:00:29 +0000
commitaca40d6e5da5736515748fc33ff100d9d2b2ee55 (patch)
tree2f9eed467db671b114f8d695697dade77990f37b /web/alert.cgi
parent0405110b80e5702927ebc9d5d818c23c266fb1fc (diff)
Remove all encodes, they now cause double-encoding.
Diffstat (limited to 'web/alert.cgi')
-rwxr-xr-xweb/alert.cgi18
1 files changed, 9 insertions, 9 deletions
diff --git a/web/alert.cgi b/web/alert.cgi
index fba7ef5d7..e2a4efaac 100755
--- a/web/alert.cgi
+++ b/web/alert.cgi
@@ -131,8 +131,8 @@ sub alert_list {
$fylke = $_;
}
}
- my $kommune_name = encode_utf8($kommune->{name});
- my $fylke_name = encode_utf8($fylke->{name});
+ my $kommune_name = $kommune->{name};
+ my $fylke_name = $fylke->{name};
if ($fylke->{id} == 3) { # Oslo
@@ -177,8 +177,8 @@ for the county council.'))) . '</div><div id="rss_buttons">';
$ward = $_;
}
}
- my $council_name = encode_utf8($council->{name});
- my $ward_name = encode_utf8($ward->{name});
+ my $council_name = $council->{name};
+ my $ward_name = $ward->{name};
push @options, [ 'council', $council->{id}, Page::short_name($council),
sprintf(_("Problems within %s"), $council_name) ];
push @options, [ 'ward', $council->{id}.':'.$ward->{id}, Page::short_name($council) . '/'
@@ -195,7 +195,7 @@ for the county council.'))) . '</div><div id="rss_buttons">';
foreach (values %$areas) {
$council = $_;
}
- my $council_name = encode_utf8($council->{name});
+ my $council_name = $council->{name};
push @options, [ 'council', $council->{id}, Page::short_name($council),
sprintf(_("Problems within %s"), $council_name) ];
@@ -218,10 +218,10 @@ for the county council.'))) . '</div><div id="rss_buttons">';
$d_ward = $_;
}
}
- my $district_name = encode_utf8($district->{name});
- my $d_ward_name = encode_utf8($d_ward->{name});
- my $county_name = encode_utf8($county->{name});
- my $c_ward_name = encode_utf8($c_ward->{name});
+ my $district_name = $district->{name};
+ my $d_ward_name = $d_ward->{name};
+ my $county_name = $county->{name};
+ my $c_ward_name = $c_ward->{name};
push @options,
[ 'area', $district->{id}, Page::short_name($district), $district_name ],
[ 'area', $district->{id}.':'.$d_ward->{id}, Page::short_name($district) . '/'