Wrong file encoding after Dist::Zilla
Posted
by
xenoterracide
on Stack Overflow
See other posts from Stack Overflow
or by xenoterracide
Published on 2013-10-18T02:56:21Z
Indexed on
2013/10/18
3:54 UTC
Read the original article
Hit count: 258
How can I get mojibake to pass? this might be a bug in the contributors plugin. The character does not render correctly in perldoc, but does in my vim and in the extracted git log.
# Failed test 'Mojibake test for blib/lib/Pod/Spell.pm'
# at /home/xenoterracide/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/Test/Mojibake.pm line 168.
# Non-UTF-8 unexpected in blib/lib/Pod/Spell.pm, line 431 (POD)
here's a snippet from the source which should probably be looked at directly due to copy-paste maybe not catching an encoding issue.
=item *
Olivier Mengué <[email protected]>
=back
A little more vim exploration shows that :set filencoding
is being changed to latin1
editing the file in vim seems to fix this, but since the file is being generated, how can I get it generated with the correct encoding?
© Stack Overflow or respective owner