[Jifty-commit] r3204 - jifty/trunk/lib/Jifty/View/Declare

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sun May 6 21:20:01 EDT 2007


Author: ruz
Date: Sun May  6 21:20:01 2007
New Revision: 3204

Modified:
   jifty/trunk/lib/Jifty/View/Declare/Handler.pm

Log:
* revert the latest change unless we fix all utf8 stack

Modified: jifty/trunk/lib/Jifty/View/Declare/Handler.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Declare/Handler.pm	(original)
+++ jifty/trunk/lib/Jifty/View/Declare/Handler.pm	Sun May  6 21:20:01 2007
@@ -78,9 +78,8 @@
         unless ( Jifty->handler->apache->http_header_sent ||Jifty->web->request->is_subrequest ) {
             Jifty->handler->apache->send_http_header();
         }
-
-    # Just before we go to stdout, we REALLY want to convert to octets
-    print STDOUT Encode::encode_utf8($content);
+    utf8::downgrade($content, 1); # Just before we go to stdout, we REALLY want to convert to octets.
+    print STDOUT $content;
     return undef;
 }
 


More information about the Jifty-commit mailing list