oops again, should be encode not decode

This commit is contained in:
Christopher Hall 2011-01-25 15:29:55 +13:00
parent 24d04b5bbd
commit 4c5d2915b1
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ sub param{
while(@_){
my $key = shift;
my $val = shift;
utf8::decode($val) if utf8::is_utf8($val);
utf8::encode($val) if utf8::is_utf8($val);
$self->{VARS}->{$key} = $val;
}
}