r923 - html/trunk/scripts

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Wed Dec 29 16:44:55 PST 2004


Author: lizardo
Date: 2004-12-29 17:44:53 -0700 (Wed, 29 Dec 2004)
New Revision: 923

Modified:
   html/trunk/scripts/lfs2rss.pl
Log:
Changed default encoding of RSS feeds to ISO-8859-1.


Modified: html/trunk/scripts/lfs2rss.pl
===================================================================
--- html/trunk/scripts/lfs2rss.pl	2004-12-29 23:52:41 UTC (rev 922)
+++ html/trunk/scripts/lfs2rss.pl	2004-12-30 00:44:53 UTC (rev 923)
@@ -3,6 +3,7 @@
 # License: GNU General Public License
 
 # Modified by Anderson Lizardo <lizardo at linuxfromscratch.org>
+# 2004-12-29: changed encoding to ISO-8859-1
 # 2004-12-12: added BUGS section
 # 2004-03-09: fixed news item URL creation
 
@@ -12,7 +13,7 @@
 use strict;
 
 # make a new XML::RSS object
-my $RSS = new XML::RSS (version => '2.0');
+my $RSS = new XML::RSS (version => '2.0', encoding => 'ISO-8859-1');
 
 # default arguments for commandline switches
 my %args = 




More information about the website mailing list