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
1 changed files with 2 additions and 0 deletions

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/;