Unicode plugin - rework encoding default config
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Plugin / Unicode / Encoding.pm
index ffcdfae..c1c67d9 100644 (file)
@@ -125,7 +125,7 @@ sub setup {
     my $conf = $self->config;
 
     # Allow an explict undef encoding to disable default of utf-8
-    my $enc = exists $conf->{encoding} ? delete $conf->{encoding} : 'UTF-8';
+    my $enc = delete $conf->{encoding};
     $self->encoding( $enc );
 
     return $self->next::method(@_);