Browse Source

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

tags/n2.2-rc1
Janne Grunau 11 years ago
parent
commit
5ea14d48a8
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      doc/texi2pod.pl

+ 2
- 0
doc/texi2pod.pl 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/;


Loading…
Cancel
Save