r76090 - /scripts/qa/wnppcheck

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Jun 19 10:00:31 UTC 2011


Author: gregoa
Date: Sun Jun 19 10:00:26 2011
New Revision: 76090

URL: http://svn.debian.org/wsvn/?sc=1&rev=76090
Log:
wnppcheck: in- and output are utf8

Modified:
    scripts/qa/wnppcheck

Modified: scripts/qa/wnppcheck
URL: http://svn.debian.org/wsvn/scripts/qa/wnppcheck?rev=76090&op=diff
==============================================================================
--- scripts/qa/wnppcheck (original)
+++ scripts/qa/wnppcheck Sun Jun 19 10:00:26 2011
@@ -6,11 +6,11 @@
 URL="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=wnpp&archive=no&show_list_header=no&show_list_footer=no&version=&pend-inc=pending&pend-exc=forwarded&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&exclude=wontfix"
 
 echo "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>"
-echo "<html><head><title>WNPP bugs wrt lib*-perl</title></head>"
+echo "<html><head><title>WNPP bugs wrt lib*-perl</title><meta http-equiv='Content-Type' content='text/html;charset=UTF-8'></head>"
 echo "<body><h1>WNPP bugs wrt lib*-perl</h1><pre>"
 wget -q -O - "$URL" | \
 	sed -e '/H2.*Forwarded/,$ d' | \
-	html2text -nobs -width 255 | \
+	html2text -utf8 -nobs -width 255 | \
 	egrep -A 1 "\#.+lib.+-perl" | \
 	sed -e 's/_/ /g' -e 's/</\</g' -e 's/>/\>/g' -e '/^--$/ d' | \
 	sed -e 's;#\([0-9]\+\);<a href="http://bugs.debian.org/\1">#\1</a>;g'




More information about the Pkg-perl-cvs-commits mailing list