CC: | rjbs [...] cpan.org, ether [...] cpan.org |
Subject: | failure: utf8 does not map to Unicode |
The .yml file attached is derived from the test suite for CPAN distribution Module-Install. When Module-Install's v1.06 was recently tested against Perl 5 blead, a failure emerged in that distro's t/20_authors_with_special_characters.t. Reported at:
http://www.cpantesters.org/cpan/report/aa51b0e6-9619-11e3-9bb1-f0615d7e0655
That led to https://rt.perl.org/Ticket/Display.html?id=121262
Module-Install makes extensive use of the quasi-deprecated Parse::CPAN::Meta::Loadfile(). The failure can be triggered simply by using that function to try to read the .yml file attached.
$ perl -MParse::CPAN::Meta -e '@yaml = Parse::CPAN::Meta::LoadFile( q|module_install_t20_META.yml| );'Error reading from file 'module_install_t20_META.yml': utf8 "\xE9" does not map to Unicode
at /usr/local/lib/perl5/site_perl/5.18.0/Parse/CPAN/Meta.pm line 97.
at -e line 1.
Thank you very much.
Jim Keenan
Subject: | module_install_t20_META.yml |
---
abstract: ~
author:
- 'Olivier Mengué'
build_requires:
ExtUtils::MakeMaker: 6.36
configure_requires:
ExtUtils::MakeMaker: 6.36
distribution_type: module
dynamic_config: 1
generated_by: 'Module::Install version 1.06'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Foo
no_index:
directory:
- inc
requires:
perl: 5.005
resources:
license: http://dev.perl.org/licenses/
version: 0.01