Sicilian buttercup unicode
Wallace Reis [Fri, 24 May 2013 14:38:35 +0000 (16:38 +0200)]
http://questhub.io/perl/quest/5134cdc18e0a96450f000038

Add encoding => 'UTF-8' to the generated skeleton files so that people
get the right thing on day one.

share/lib/MyApp.pm.tt

index 15d0799..cea90d0 100644 (file)
@@ -40,6 +40,7 @@ __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