diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-13 03:06:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-13 03:54:48 +0100 |
commit | 12ce58bebdff6bfae9c56dc785e3003968f93277 (patch) | |
tree | c45f647837b55d6260f93464ab0af337e6d963e3 /doc/texi2pod.pl | |
parent | 72d44f15834af68e2620a7051493359d7ee5b2c3 (diff) | |
download | ffmpeg-12ce58bebdff6bfae9c56dc785e3003968f93277.tar.gz |
doc/texi2pod: fix encoding type
docs say:
'A document having more than one "=encoding" line should be considered an error. '
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/texi2pod.pl')
-rw-r--r-- | doc/texi2pod.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index f972671937..b825fdc242 100644 --- a/doc/texi2pod.pl +++ b/doc/texi2pod.pl @@ -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"; |