# This file documents the revision history for Perl extension Catalyst.
+5.7013
+ - convert perl characters to utf8 before output
+ (Catalyst::Plugin::Unicode no longer needed for output)
+
5.7012 2007-12-16 23:44:00
- Fix __PACKAGE__->config->{foo} = 'bar' case with subclassing
- Add Catalyst::Stats (Jon Schutz)
$c->log->error($error);
}
+ # utf8-encode the body (convert perl chars to utf8 on the wire)
+ if ( $c->response->{body} && utf8::is_utf8($c->response->{body}) ){
+ utf8::encode( $c->response->{body} );
+ }
+
# Allow engine to handle finalize flow (for POE)
if ( $c->engine->can('finalize') ) {
$c->engine->finalize($c);