From 52cc9eb9669e29e1bed76f46c3f88560175b66ca Mon Sep 17 00:00:00 2001
From: dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Thu, 14 Jan 2010 04:22:13 +0000
Subject: [PATCH] Call decode_utf8() to generate clean output in HTML feeds

Tested on Debian Lenny and Ubuntu Karmic


git-svn-id: svn://svn.open-ils.org/ILS/trunk@15319 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
index 6afdc0ca7d..4418c72d58 100644
--- a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
+++ b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
@@ -874,7 +874,7 @@ sub bookbag_feed {
 
 
 	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 @@ sub changes_feed {
 
 
 	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;
 }
-- 
2.11.0