[Po4a-commits] "po4a/lib/Locale/Po4a Pod.pm,1.22,1.23"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Mon Mar 23 20:43:52 UTC 2009
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv24629/lib/Locale/Po4a
Modified Files:
Pod.pm
Log Message:
* lib/Locale/Po4a/Pod.pm: Do not add an =encoding header if the
encoding is empty. Thanks to Joey Hess.
Index: Pod.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Pod.pm,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- Pod.pm 9 Feb 2009 23:11:56 -0000 1.22
+++ Pod.pm 23 Mar 2009 20:43:50 -0000 1.23
@@ -147,7 +147,7 @@
sub docheader {
my $self=shift;
my $encoding = $self->{TT}{file_out_charset};
- if (defined $encoding) {
+ if (defined $encoding and length $encoding) {
$encoding = "\n=encoding $encoding\n";
} else {
$encoding = "";
More information about the Po4a-commits
mailing list