[Catalyst-commits] r14298 - Test-WWW-Mechanize-Catalyst/trunk/t/lib/Catty/Controller

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Sun May 13 20:05:22 GMT 2012


Author: t0m
Date: 2012-05-13 20:05:22 +0000 (Sun, 13 May 2012)
New Revision: 14298

Modified:
   Test-WWW-Mechanize-Catalyst/trunk/t/lib/Catty/Controller/Root.pm
Log:
Unfuck tests

Modified: Test-WWW-Mechanize-Catalyst/trunk/t/lib/Catty/Controller/Root.pm
===================================================================
--- Test-WWW-Mechanize-Catalyst/trunk/t/lib/Catty/Controller/Root.pm	2012-05-13 19:55:07 UTC (rev 14297)
+++ Test-WWW-Mechanize-Catalyst/trunk/t/lib/Catty/Controller/Root.pm	2012-05-13 20:05:22 UTC (rev 14298)
@@ -121,7 +121,7 @@
   # 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');




More information about the Catalyst-commits mailing list