r562 - scripts/trunk

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Tue Sep 6 18:59:35 PDT 2005


Author: lizardo
Date: 2005-09-06 19:59:35 -0600 (Tue, 06 Sep 2005)
New Revision: 562

Modified:
   scripts/trunk/svn2html.pl
Log:
Forced XML::Parser to understand input as ISO-8859-1 (albeit the XML header say
it's UTF-8. This is a workaround due to a invalid non-Unicode char being
inserted on a subversion commit message (LFS repository, commit 6803) and
breaking the svn2html.pl script.



Modified: scripts/trunk/svn2html.pl
===================================================================
--- scripts/trunk/svn2html.pl	2005-09-06 14:17:06 UTC (rev 561)
+++ scripts/trunk/svn2html.pl	2005-09-07 01:59:35 UTC (rev 562)
@@ -67,6 +67,7 @@
         End => \&handle_EndTag,
         Char => \&handle_Text,
     },
+    ProtocolEncoding => 'ISO-8859-1',
 );
 
 if ($infile) {




More information about the website mailing list