From: Tomas Doran Date: Sun, 13 May 2012 20:05:22 +0000 (+0000) Subject: Unfuck tests X-Git-Tag: 0.58~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FTest-WWW-Mechanize-Catalyst.git;a=commitdiff_plain;h=182c043a06d347ba87a5a5de87f8c33de8e3b5fd Unfuck tests --- diff --git a/t/lib/Catty/Controller/Root.pm b/t/lib/Catty/Controller/Root.pm index 77a2825..17498fd 100644 --- a/t/lib/Catty/Controller/Root.pm +++ b/t/lib/Catty/Controller/Root.pm @@ -121,7 +121,7 @@ sub gzipped : Global { # control both ends, so just always gzip the response. require Compress::Zlib; - my $html = html( "Hello", "Hi there! ☺" ); + my $html = Encode::encode('UTF-8', html( "Hello", "Hi there! ☺" )); $c->response->content_type("text/html; charset=utf-8"); $c->response->output( Compress::Zlib::memGzip($html) ); $c->response->content_encoding('gzip');