1Dist::Zilla::Plugin::EnUcsoedrinCgo(n3t)ributed Perl DocDuimsetn:t:aZtiilolna::Plugin::Encoding(3)
2
3
4
6 Dist::Zilla::Plugin::Encoding - set the encoding of arbitrary files
7
9 version 6.031
10
12 This plugin allows you to explicitly set the encoding on some files in
13 your distribution. You can either specify the exact set of files (with
14 the "filenames" parameter) or provide the regular expressions to check
15 (using "match").
16
17 In your dist.ini:
18
19 [Encoding]
20 encoding = Latin-3
21
22 filename = t/esperanto.t ; this file is Esperanto
23 match = ^t/urkish/ ; these are all Turkish
24
26 This module should work on any version of perl still receiving updates
27 from the Perl 5 Porters. This means it should work on any version of
28 perl released in the last two to three years. (That is, if the most
29 recently released version is v5.40, then this module should work on
30 both v5.40 and v5.38.)
31
32 Although it may work on older versions of perl, no guarantee is made
33 that the minimum required version will not be increased. The version
34 may be increased for any reason, and there is no promise that patches
35 will be accepted to lower the minimum required perl.
36
38 encoding
39 This is the encoding to set on the selected files. The special value
40 "bytes" can be used to indicate raw files that should not be encoded.
41
42 filenames
43 This is an arrayref of filenames to have their encoding set.
44
45 matches
46 This is an arrayref of regular expressions. Any file whose name
47 matches one of these regex will have its encoding set.
48
49 ignore
50 This is an arrayref of regular expressions. Any file whose name
51 matches one of these regex will not have its encoding set. Useful to
52 ignore a few files that would otherwise be selected by "matches".
53
55 Ricardo SIGNES 😏 <cpan@semiotic.systems>
56
58 This software is copyright (c) 2023 by Ricardo SIGNES.
59
60 This is free software; you can redistribute it and/or modify it under
61 the same terms as the Perl 5 programming language system itself.
62
63
64
65perl v5.36.1 2023-11-21 Dist::Zilla::Plugin::Encoding(3)