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
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