[Jifty-commit] r549 - jifty/trunk/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Feb 6 09:06:21 EST 2006
Author: autrijus
Date: Mon Feb 6 09:06:20 2006
New Revision: 549
Modified:
jifty/trunk/lib/Jifty/Web.pm
Log:
* fragments containing unicode strings should be served
without warnings; turn off "wide characters in output"
warnings lexically for the serve_fragment block.
Modified: jifty/trunk/lib/Jifty/Web.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web.pm (original)
+++ jifty/trunk/lib/Jifty/Web.pm Mon Feb 6 09:06:20 2006
@@ -1067,7 +1067,11 @@
# Print a header and the content, and then bail
my $apache = HTML::Mason::FakeApache->new();
$apache->send_http_header();
+
+ # Wide characters at this point should be harmlessly treated as UTF-8 octets.
+ no warnings 'utf8';
print $output;
+
Jifty::Dispatcher::last_rule;
}
More information about the Jifty-commit
mailing list