From 18ccb9d1525b79d7be1e7565a6bbc6196fff07c1 Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Fri, 2 Dec 2016 13:57:44 -0800 Subject: [PATCH] Set UTF8 mode Set UTF8 mode so the information is printed correctly. --- scripts/find-supporter.plx | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/find-supporter.plx b/scripts/find-supporter.plx index e9f4a07..d5ed21e 100755 --- a/scripts/find-supporter.plx +++ b/scripts/find-supporter.plx @@ -31,6 +31,7 @@ if ($CRITERION ne 'id') { push(@supporterIds, $SEARCH_PARAMETER); } my @requestTypes = $sp->getRequestType(); +binmode STDOUT, ":utf8"; foreach my $id (@supporterIds) { $found = 1; my $preferredEmail = $sp->getPreferredEmailAddress($id);