Browse Source

Declare `=encoding` ASAP

In some cases the file is not slurped so declaring encoding at the tail
is useless.
Alois Mahdal 6 years ago
parent
commit
f9ccf6f29c
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/include-bash/sfdoc.sh

+ 2
- 1
src/include-bash/sfdoc.sh View File

135
     echo "true <<'=cut'"
135
     echo "true <<'=cut'"
136
     echo "=pod"
136
     echo "=pod"
137
     echo
137
     echo
138
+    echo "=encoding $Encoding"
139
+    echo
138
     echo "=head1 NAME"
140
     echo "=head1 NAME"
139
     echo
141
     echo
140
     echo "$MName - $(__sfdoc__get_doc | head -1)"
142
     echo "$MName - $(__sfdoc__get_doc | head -1)"
187
         echo "=back"
189
         echo "=back"
188
         echo
190
         echo
189
     }
191
     }
190
-    echo "=encoding $Encoding"
191
     echo "=cut"
192
     echo "=cut"
192
 }
193
 }
193
 
194