Subject: | character set encoding issues |
Various documentation files seem to be mixed Latin-1 and UTF-8. I'm
doing the following in the Fedora package I'm working on:
perl -Mbytes -pi -e 's/\xf6/\xc3\xb6/g' Changes README lib/Perl6/Doc.pm
perl -Mbytes -pi \
-e 's/(?<![\xc2\xd9\xe0\x85\x91])([\xab\xbb\xa0\xac])/\xc2$1/g' \
lib/Perl6/Doc/Design/*.pod
perl -Mbytes -pi -e 's/\x97/\xe2\x80\x94/' \
lib/Perl6/Doc/Magazine/perl-6-parameter-passing.pod
That seems to make everything proper UTF-8.