1Encode::Detect(3) User Contributed Perl Documentation Encode::Detect(3)
2
3
4
6 Encode::Detect - An Encode::Encoding subclass that detects the encoding
7 of data
8
10 use Encode;
11 require Encode::Detect;
12 my $utf8 = decode("Detect", $data);
13
15 This Perl module is an Encode::Encoding subclass that uses
16 Encode::Detect::Detector to determine the charset of the input data and
17 then decodes it using the encoder of the detected charset.
18
19 It is similar to Encode::Guess, but does not require the configuration
20 of a set of expected encodings. Like Encode::Guess, it only supports
21 decoding--it cannot encode.
22
24 Encode, Encode::Encoding, Encode::Detect::Detector
25
27 John Gardiner Myers <jgmyers@proofpoint.com>
28
30 For help and thank you notes, e-mail the author directly. To report a
31 bug, submit a patch, or add to the wishlist please visit the CPAN bug
32 manager at: http://rt.cpan.org
33
34
35
36perl v5.32.1 2021-01-27 Encode::Detect(3)