The plugin decodes all parameters using:
$_ = $c->encoding->decode( $_, $CHECK ) for ( ref($value) ? @{$value} :
$value );
I'd think it would be wise to check to see if the string is already
decoded:
for ( ref($value) ? @{$value} : $value ) {
next if Encode::is_utf8($_);
$_ = $c->encoding->decode( $_, $CHECK );
}
See any reason not to do that?
--
Bill Moseley
[EMAIL PROTECTED]
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/