X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=share%2Flib%2FMyApp.pm.tt;h=cea90d0d0649a92b6cd76548b677f25b0a792233;hb=05599dea949194b04aff55b958f1fc4604acc919;hp=46ec6d17123bdce0a7d3d99de6b423cfcbdcc2a7;hpb=f9470eee5a092b50863b860eb3c2d013d6731f56;p=catagits%2FCatalyst-Devel.git diff --git a/share/lib/MyApp.pm.tt b/share/lib/MyApp.pm.tt index 46ec6d1..cea90d0 100644 --- a/share/lib/MyApp.pm.tt +++ b/share/lib/MyApp.pm.tt @@ -39,11 +39,14 @@ __PACKAGE__->config( name => '[% name %]', # 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