@@ -1887,9 +1887,9 @@ There is a full version history in the Changes file, and the Test::More versions
18871887
18881888=over 4
18891889
1890- =item utf8 / "Wide character in print"
1890+ =item UTF-8 / "Wide character in print"
18911891
1892- If you use utf8 or other non-ASCII characters with Test::More you
1892+ If you use UTF-8 or other non-ASCII characters with Test::More you
18931893might get a "Wide character in print" warning. Using
18941894C<< binmode STDOUT, ":utf8" >> will not fix it.
18951895L<Test::Builder> (which powers
@@ -1900,16 +1900,16 @@ Test::More.
19001900One work around is to apply encodings to STDOUT and STDERR as early
19011901as possible and before Test::More (or any other Test module) loads.
19021902
1903- use open ':std', ':encoding(utf8 )';
1903+ use open ':std', ':encoding(UTF-8 )';
19041904 use Test::More;
19051905
19061906A more direct work around is to change the filehandles used by
19071907L<Test::Builder> .
19081908
19091909 my $builder = Test::More->builder;
1910- binmode $builder->output, ":encoding(utf8 )";
1911- binmode $builder->failure_output, ":encoding(utf8 )";
1912- binmode $builder->todo_output, ":encoding(utf8 )";
1910+ binmode $builder->output, ":encoding(UTF-8 )";
1911+ binmode $builder->failure_output, ":encoding(UTF-8 )";
1912+ binmode $builder->todo_output, ":encoding(UTF-8 )";
19131913
19141914
19151915=item Overloaded objects
0 commit comments