[open-ils-commits] r15319 - trunk/Open-ILS/src/perlmods/OpenILS/WWW (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jan 13 23:22:16 EST 2010
Author: dbs
Date: 2010-01-13 23:22:13 -0500 (Wed, 13 Jan 2010)
New Revision: 15319
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
Log:
Call decode_utf8() to generate clean output in HTML feeds
Tested on Debian Lenny and Ubuntu Karmic
Modified: trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm 2010-01-14 03:21:25 UTC (rev 15318)
+++ trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm 2010-01-14 04:22:13 UTC (rev 15319)
@@ -874,7 +874,7 @@
print "Content-type: ". $feed->type ."; charset=utf-8\n\n";
- print $U->entityize($feed->toString) . "\n";
+ print $U->entityize(decode_utf8($feed->toString)) . "\n";
return Apache2::Const::OK;
}
@@ -951,7 +951,7 @@
print "Content-type: ". $feed->type ."; charset=utf-8\n\n";
- print $U->entityize($feed->toString) . "\n";
+ print $U->entityize(decode_utf8($feed->toString)) . "\n";
return Apache2::Const::OK;
}
More information about the open-ils-commits
mailing list