From 821439040710b2ca55d89530bee4f73a285616b0 Mon Sep 17 00:00:00 2001 From: Kaleb Murphy Date: Tue, 27 Jan 2009 03:19:55 +0000 Subject: [PATCH] Form::paramHashRef now does explicit utf8 decoding --- lib/WebGUI/Session/Form.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/WebGUI/Session/Form.pm b/lib/WebGUI/Session/Form.pm index f0625111e..1033efcbf 100644 --- a/lib/WebGUI/Session/Form.pm +++ b/lib/WebGUI/Session/Form.pm @@ -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]; }