Skip Menu |
 

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 53737
Status: resolved
Priority: 0/
Queue: URI

People
Owner: Nobody in particular
Requestors: salvatore.bonaccorso [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.52
Fixed in: (no value)



Subject: wide caracters warnings in t/iri.t
Download (untitled) / with headers
text/plain 675b
Hi t/iri.t tests issues a warning about wide caracters. ... Wide character in print at /usr/share/perl/5.10/Test/Builder.pm line 1472. t/iri.t .......... ok ... The following patch should resolve this issue: ------------------------------------------------------------------ --- a/t/iri.t +++ b/t/iri.t @@ -9,6 +9,9 @@ my $u; +binmode Test::More->builder->output, ":utf8"; +binmode Test::More->builder->failure_output, ":utf8"; + $u = URI->new("http://Bücher.ch"); is $u, "http://xn--bcher-kva.ch"; is $u->host, "xn--bcher-kva.ch"; ------------------------------------------------------------------ would you agree on that? Is there a better fix? Bests Salvatore
Thanks! Applied. Commit 06cb7e1


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.