Set UTF8 mode

Set UTF8 mode so the information is printed correctly.
This commit is contained in:
Martin Michlmayr 2016-12-02 13:57:44 -08:00 committed by Brett Smith
parent 14fbb42dd6
commit 18ccb9d152

View file

@ -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);