1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

texi2pod: always declare the pod file as UTF-8 encoded

This commit is contained in:
Janne Grunau 2014-02-24 20:22:13 +01:00
parent c91488ab33
commit 5ea14d48a8

View File

@ -324,6 +324,8 @@ $sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES};
unshift @sects_sequence, "NAME"; unshift @sects_sequence, "NAME";
for $sect (@sects_sequence) { for $sect (@sects_sequence) {
# always use utf8
print "=encoding utf8\n";
if(exists $sects{$sect}) { if(exists $sects{$sect}) {
$head = $sect; $head = $sect;
$head =~ s/SEEALSO/SEE ALSO/; $head =~ s/SEEALSO/SEE ALSO/;