Subject: | Encoding of author name getting corrupted |
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