- From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 25 May 2006 08:50:53 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv31162
Modified Files:
checklink
Log Message:
Try enabling UTF-8 mode in HTML::Parser (#3289).
Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.30
retrieving revision 4.31
diff -u -d -r4.30 -r4.31
--- checklink 25 May 2006 07:59:58 -0000 4.30
+++ checklink 25 May 2006 08:50:50 -0000 4.31
@@ -1194,6 +1194,7 @@
sub new
{
my $p = HTML::Parser::new(@_, api_version => 3);
+ eval { local $SIG{__DIE__}; $p->utf8_mode(1); };
# Start tags
$p->handler(start => 'start', 'self, tagname, attr, text, line');
Received on Thursday, 25 May 2006 08:51:01 UTC