diff options
author | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-16 19:23:48 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-02-16 19:23:48 +0000 |
commit | befd99b8e4ae3d2f60761dc9c658f3b6d6576054 (patch) | |
tree | c9d939772b1904cc5a2756dfef1c64ee0133b866 /bin/send-questionnaires | |
parent | 3c6eaa0460dbbc548b896eb0189fdae13596ac12 (diff) |
Various encoding fixing.
Diffstat (limited to 'bin/send-questionnaires')
-rwxr-xr-x | bin/send-questionnaires | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/send-questionnaires b/bin/send-questionnaires index eb67cd5d1..0df4c45a8 100755 --- a/bin/send-questionnaires +++ b/bin/send-questionnaires @@ -75,7 +75,7 @@ foreach my $row (@$unsent) { my %h = map { $_ => $row->{$_} } qw/name title detail category/; $h{created} = Page::prettify_duration($row->{created}, 'week'); - $h{councils} = join(' and ', map { $areas_info->{$_}->{name} } @councils); + $h{councils} = join(' and ', map { encode_utf8($areas_info->{$_}->{name}) } @councils); my $id = dbh()->selectrow_array("select nextval('questionnaire_id_seq');"); dbh()->do('insert into questionnaire (id, problem_id, whensent) |