Form::paramHashRef now does explicit utf8 decoding

This commit is contained in:
Kaleb Murphy 2009-01-27 03:19:55 +00:00
parent 6b7886c856
commit 8214390407

View file

@ -98,6 +98,7 @@ sub paramsHashRef {
my %hash;
tie %hash, "Tie::IxHash";
foreach ($self->param) {
$_ = Encode::decode_utf8($_);
my @arr = $self->process($_);
$hash{$_} = (scalar(@arr) > 1)?\@arr:$arr[0];
}