Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

05-encode.t fails with Encode 3.09 #15

Closed
jplesnik opened this issue May 17, 2021 · 4 comments
Closed

05-encode.t fails with Encode 3.09 #15

jplesnik opened this issue May 17, 2021 · 4 comments

Comments

@jplesnik
Copy link

jplesnik commented May 17, 2021

#   Failed test 'Mojibake test for /usr/lib64/perl5/vendor_perl/Encode.pm'
#   at /builddir/build/BUILD/Test-Mojibake-1.3/blib/lib/Test/Mojibake.pm line 176.
# UTF-8 unexpected in /usr/lib64/perl5/vendor_perl/Encode.pm, line 492 (POD)
# Looks like you failed 1 test of 3.
t/05-encode.t ................ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

The tests starts failing after updating the module Encode to 3.09

@creaktive
Copy link
Owner

Thanks for reporting!
Looking into the issue, I found that UTF-8 apostrophes were introduced in the POD section of Encode.pm in version 3.09. perlpod states that "It's best to be explicit if you use anything besides strict ASCII"; so technically, Encode.pm itself suffers from a mild case of mojibake... I'll report this upstream for the time being.

@creaktive
Copy link
Owner

@dankogai
Copy link

Thank you. Fixed in dankogai/p5-encode@5cedcc3 . Encode.pm itself should contain only ASCII.

@jplesnik
Copy link
Author

It was solved by Encode 3.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants