Skip to content

Commit 6a09780

Browse files
committed
pod: specify encoding for pod document
1 parent c7db43e commit 6a09780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vim_faq.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ endfunction
261261
func! MakePODFile(textfile)
262262
/^INDEX/d
263263
g/^=\+$/d
264-
call append(1,['=pod', '', '=head1 DESCRIPTION'])
264+
call append(1,['=pod', '', '=encoding utf-8', '', '=head1 DESCRIPTION'])
265265
/^1.4/,/^1.5/s/^.*:$/=head3 &/
266266
/^1.4/,/^1.5/s/^\s\s\S.*$/=head4 &/
267267
%s/^SECTION \d\+ - \(.\+\)$/=head1 \1\r/

0 commit comments

Comments
 (0)