[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.10-75-ga8ef8ff



The following commit has been merged in the master branch:
commit a8ef8ff8379e34c139f22c6b371e2e3c4457bf24
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Jul 22 21:48:41 2012 +0200

    lib: Fix typo in POD and add encoding hint
    
    Also have generate-html-docs use UTF-8 as default encoding.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/lib/Lintian/Architecture.pm b/lib/Lintian/Architecture.pm
index cf37468..52f78c9 100644
--- a/lib/Lintian/Architecture.pm
+++ b/lib/Lintian/Architecture.pm
@@ -36,6 +36,7 @@ our (@EXPORT_OK, %EXPORT_TAGS);
 
 %EXPORT_TAGS = (all => \@EXPORT_OK);
 
+=encoding utf-8
 
 =head1 NAME
 
diff --git a/lib/Lintian/Collect/Source.pm b/lib/Lintian/Collect/Source.pm
index 2b0fd74..21b9d18 100644
--- a/lib/Lintian/Collect/Source.pm
+++ b/lib/Lintian/Collect/Source.pm
@@ -469,7 +469,7 @@ The debfiles collection script must have been run to make the
 F<debfiles/control> file available.
 
 NB: If a field from the "dsc" file itself is desired, please use
-L<field|Lintian::Collect/field> returns a field.
+L<field|Lintian::Collect/field> instead.
 
 =back
 
diff --git a/private/generate-html-docs b/private/generate-html-docs
index 5b83ba8..a2190c4 100755
--- a/private/generate-html-docs
+++ b/private/generate-html-docs
@@ -16,6 +16,8 @@ if ( ! -d $output) {
     mkdir $output or die "could not create directory: $!";
 }
 
+$Pod::Simple::HTML::Content_decl = q{<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >};
+
 my $convert = Pod::Simple::HTMLBatch->new;
 $convert->html_render_class ('Pod::Simple::HTML');
 $convert->contents_page_start( header() );

-- 
Debian package checker


Reply to: