Unicode - fix syntax error
[catagits/Catalyst-Devel.git] / share / lib / MyApp.pm.tt
index c581743..a7171f8 100644 (file)
@@ -40,11 +40,13 @@ __PACKAGE__->config(
     # Disable deprecated behavior needed by old applications
     disable_component_resolution_regex_fallback => 1,
     enable_catalyst_header => 1, # Send X-Catalyst header
+    encoding => 'UTF-8', # Setup request decoding and response encoding
 );
 
 # Start the application
 __PACKAGE__->setup();
 
+=encoding utf8
 
 =head1 NAME