```{index} single: Test2::Tools::Encoding ``` # Test2::Tools::Encoding Tools for managing the encoding of [Test2](../../Test2.md) based tests. ## DESCRIPTION This module exports a function that lets you dynamically change the output encoding at will. ## SYNOPSIS ```perl use Test2::Tools::Encoding; set_encoding('utf8'); ``` ## EXPORTS All subs are exported by default. - set\_encoding($encoding) 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. ## SOURCE The source code repository for Test2-Suite can be found at `https://github.com/Test-More/test-more/`. ## MAINTAINERS - Chad Granum ## AUTHORS - Chad Granum ## COPYRIGHT Copyright Chad Granum . 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/`