projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4b0b748
)
remove is_utf8
John Napiorkowski [Fri, 26 Sep 2014 22:22:07 +0000 (17:22 -0500)]
lib/Catalyst.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst.pm
b/lib/Catalyst.pm
index
f83616c
..
dbab5af
100644
(file)
--- a/
lib/Catalyst.pm
+++ b/
lib/Catalyst.pm
@@
-3111,9
+3111,7
@@
sub _handle_param_unicode_decoding {
my $enc = $self->encoding;
return try {
- Encode::is_utf8( $value ) ?
- $value
- : $enc->decode( $value, $self->_encode_check );
+ $enc->decode( $value, $self->_encode_check );
}
catch {
$self->handle_unicode_encoding_exception({