1Test::More::UTF8(3) User Contributed Perl Documentation Test::More::UTF8(3)
2
3
4
6 Test::More::UTF8 - Enhancing Test::More for UTF8-based projects
7
9 use Test::More;
10 use Test::More::UTF8;
11
12 # now we can easily use flagged strings without warnings like "Wide character in print ..."
13 is("\x{410}","\x{420}"); # got a failure message without warnings
14
16 This module have reason only for perl 5.8 and higher
17
19 This module also switch on by default utf8 pragma. To disable this, add
20 "-utf8" option
21
22 use Test::More::UTF8 qw(-utf8);
23
24 By default binmode ':utf8' will be done on all output handles:
25 failure_output, todo_output, output. It is possible to choose only some
26 of them
27
28 use Test::More::UTF8 qw(failure); # enable :utf8 only on failure_output
29 use Test::More::UTF8 qw(todo); # enable :utf8 only on todo_output
30 use Test::More::UTF8 qw(out); # enable :utf8 only on output
31
33 Mons Anderson, <mons@cpan.org>
34
36 None known
37
39 Copyright 2009 Mons Anderson, all rights reserved.
40
41 This program is free software; you can redistribute it and/or modify it
42 under the same terms as Perl itself.
43
44
45
46perl v5.32.0 2020-07-28 Test::More::UTF8(3)