Commit 12ce58be authored by Michael Niedermayer's avatar Michael Niedermayer

doc/texi2pod: fix encoding type

docs say:
'A document having more than one "=encoding" line should be considered an error. '
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 72d44f15
......@@ -327,10 +327,11 @@ die "No filename or title\n" unless defined $fn && defined $tl;
$chapters{NAME} = "$fn \- $tl\n";
$chapters{FOOTNOTES} .= "=back\n" if exists $chapters{FOOTNOTES};
# always use utf8
print "=encoding utf8\n\n";
unshift @chapters_sequence, "NAME";
for $chapter (@chapters_sequence) {
# always use utf8
print "=encoding utf8\n";
if (exists $chapters{$chapter}) {
$head = uc($chapter);
print "=head1 $head\n\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment