1Pod::Weaver::Plugin::SiUnsgelreECnocnotdriinbgu(t3e)d PeProld:D:oWceuamveenrt:a:tPiloungin::SingleEncoding(3)
2
3
4
6 Pod::Weaver::Plugin::SingleEncoding - ensure that there is exactly one
7 =encoding of known value
8
10 version 4.019
11
13 The SingleEncoding plugin is a Dialect and a Finalizer.
14
15 During dialect translation, it will look for "=encoding" directives.
16 If it finds them, it will ensure that they all agree on one encoding
17 and remove them.
18
19 During document finalization, it will insert an "=encoding" directive
20 at the top of the output, using the encoding previously detected. If
21 no encoding was detected, the plugin's "encoding" attribute will be
22 used instead. That defaults to UTF-8.
23
24 If you want to reject any "=encoding" directive that doesn't match your
25 expectations, set the "encoding" attribute by hand.
26
27 No actual validation of the encoding is done. Pod::Weaver, after all,
28 deals in text rather than bytes.
29
31 This module should work on any version of perl still receiving updates
32 from the Perl 5 Porters. This means it should work on any version of
33 perl released in the last two to three years. (That is, if the most
34 recently released version is v5.40, then this module should work on
35 both v5.40 and v5.38.)
36
37 Although it may work on older versions of perl, no guarantee is made
38 that the minimum required version will not be increased. The version
39 may be increased for any reason, and there is no promise that patches
40 will be accepted to lower the minimum required perl.
41
43 Ricardo SIGNES <cpan@semiotic.systems>
44
46 This software is copyright (c) 2023 by Ricardo SIGNES.
47
48 This is free software; you can redistribute it and/or modify it under
49 the same terms as the Perl 5 programming language system itself.
50
51
52
53perl v5.38.0 2023-07P-o2d1::Weaver::Plugin::SingleEncoding(3)