aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Geocode.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-24 10:10:58 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-24 10:10:58 +0000
commit91202939f285e28d81888b40bc70744a3b41ddf9 (patch)
tree9b46d38cca97ef98dee6110cb93873a160c4b0f1 /perllib/FixMyStreet/Geocode.pm
parent3a690ce84d1913872d56e46a8ecd3c7ad728072e (diff)
Remove unneeded decodes, everything is already decoded by then, and fix for passing decoded strings to MaPit.
Diffstat (limited to 'perllib/FixMyStreet/Geocode.pm')
-rw-r--r--perllib/FixMyStreet/Geocode.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Geocode.pm b/perllib/FixMyStreet/Geocode.pm
index 803e32a85..799418d89 100644
--- a/perllib/FixMyStreet/Geocode.pm
+++ b/perllib/FixMyStreet/Geocode.pm
@@ -88,7 +88,6 @@ sub geocoded_string_coordinates {
# of the site.
sub string {
my ($s, $q) = @_;
- $s = decode_utf8($s);
$s = lc($s);
$s =~ s/[^-&\w ']/ /g;
$s =~ s/\s+/ /g;