1Test::Stream::Plugin::UUTsFe8r(3C)ontributed Perl DocumeTnetsatt:i:oSntream::Plugin::UTF8(3)
2
3
4

NAME

6       Test::Stream::Plugin::UTF8 - Test::Stream plugin that enables utf8.
7

DEPRECATED

9       This distribution is deprecated in favor of Test2, Test2::Suite, and
10       Test2::Workflow.
11
12       See Test::Stream::Manual::ToTest2 for a conversion guide.
13

DESCRIPTION

15       When used, this plugin will turn on the utf8 pragma, set STDERR and
16       STDOUT to use utf8, and update the Test::Stream output formatter to use
17       utf8.
18

SYNOPSIS

20           use Test::Stream qw/... UTF8/;
21
22       This is the same as
23
24           use Test::Stream ...;
25           use utf8;
26           BEGIN {
27               set_encoding('utf8');
28               binmode(STDERR, ':utf8');
29               binmode(STDOUT, ':utf8');
30           }
31

NOTES

33       This module sets output handles to have the ':utf8' output layer. Some
34       might prefer ':encoding(utf-8)' which is more strict about verifying
35       characters.  There is a debate about wether or not encoding to utf8
36       from perl internals can ever fail, so it may not matter. This was also
37       chosen because the alternative causes threads to segfault, see perlbug
38       3193 <https://rt.perl.org/Public/Bug/Display.html?id=31923>.
39

SOURCE

41       The source code repository for Test::Stream can be found at
42       http://github.com/Test-More/Test-Stream/.
43

MAINTAINERS

45       Chad Granum <exodist@cpan.org>
46

AUTHORS

48       Chad Granum <exodist@cpan.org>
49
51       Copyright 2015 Chad Granum <exodist7@gmail.com>.
52
53       This program is free software; you can redistribute it and/or modify it
54       under the same terms as Perl itself.
55
56       See http://dev.perl.org/licenses/
57
58
59
60perl v5.32.0                      2020-07-28     Test::Stream::Plugin::UTF8(3)
Impressum