Test2::Tools::Encoding(3) User Contributed Perl Documentation Test2::Tools::Encoding(3)

Test2::Tools::Encoding - Tools for managing the encoding of Test2 based tests.

This module exports a function that lets you dynamically change the output encoding at will.

use Test2::Tools::Encoding;
set_encoding('utf8');

All subs are exported by default.

This will set the encoding to whatever you specify. This will only affect the output of the current formatter, which is usually your TAP output formatter.

The source code repository for Test2-Suite can be found at https://github.com/Test-More/Test2-Suite/.

Copyright 2018 Chad Granum <exodist@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/

2023-11-24 perl v5.38.0