Package: usemod-wiki
Version: 1.0-6
Severity: normal
Tags: patch

If charset for a wiki is set to something other than Latin-1, the RSS
feed charset will still be Latin-1, but the feed itself will be in the
charset of the wiki. RSS charset should be same as $HttpCharset, trivial
patch included.


--- wiki.pl     2005-02-16 18:25:56.000000000 +0200
+++ wiki-mod.pl 2006-03-08 15:00:09.280033229 +0200
@@ -895,7 +895,7 @@
   my $ChannelAbout = &QuoteHtml($FullUrl . &ScriptLinkChar()
                                 . $ENV{QUERY_STRING});
   $rssHeader = <<RSS ;
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0" encoding="$HttpCharset"?>
 <rdf:RDF
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
     xmlns="http://purl.org/rss/1.0/";


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to