Skip Menu |
 

This queue is for tickets about the MetaCPAN-API CPAN distribution.

Report information
The Basics
Id: 74643
Status: resolved
Priority: 0/
Queue: MetaCPAN-API

People
Owner: Nobody in particular
Requestors: NEILB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.42
Fixed in: (no value)



Subject: Encoding of author name getting corrupted
Download (untitled) / with headers
text/plain 576b
Hi Sawyer, The encoding of the author name field is getting munged when I get it via MetaCPAN::API. I get the name using the API: my $id = 'JWALT'; my $mcpan = MetaCPAN::API->new(); my $info = $mcpan->author($id); my $name = $info->{name}; If I make the request to MetaCPAN myself: my $uri = 'http://api.metacpan.org/author/JWALT'; my $tiny = HTTP::Tiny->new(); $result = $tiny->get($uri); If I put the name out of $result->{content} then I get a UTF-8 encoded version of the author's name. But I don't get a UTF-8 encoded name from MetaCPAN::API
Download (untitled) / with headers
text/plain 249b
This issue has been copied to: https://github.com/xsawyerx/metacpan-api/issues/23 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
Seems resolved.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.