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