Encode::Detect(3pm)
β¨ NAME β¨
Okay so bestie, welcome to Encode::Detect(3pm), brought to you by the User Contributed Perl Documentation crew. π Encode::Detect is literally an Encode::Encoding subclass that detects the encoding of data. Thatβs the whole vibe. π
π¦ SYNOPSIS π¦
Hereβs the tiny little invocation, no cap:
use Encode;
require Encode::Detect;
my $utf8 = decode("Detect", $data);
πΈ DESCRIPTION πΈ
This Perl module is an Encode::Encoding subclass, and it uses Encode::Detect::Detector to figure out the charset of the input data. Then it decodes that data using the encoder of the detected charset. Slay. β¨
Itβs similar to Encode::Guess, but hereβs the tea: it does not require you to configure a set of expected encodings. Like Encode::Guess, it only supports decoding β it cannot encode. Periodt. π«Ά
π SEE ALSO π
EncodeEncode::EncodingEncode::Detect::Detector
π AUTHOR π
John Gardiner Myers <jgmyers@proofpoint.com> β iconic. π
π SUPPORT π
For help and thank you notes, e-mail the author directly. π To report a bug, submit a patch, or add to the wishlist, please visit the CPAN bug manager at: http://rt.cpan.org
Cute sign-off bestie: this page is from perl v5.42.0, dated 2013-03-27, and itβs the Encode::Detect(3pm) manpage. Mwah π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Encode-Detect 1.01-bp160.4.13 Β· MPL-1.1
- opensuse-leap 16.0: perl-Encode-Detect 1.01-bp160.4.13 Β· MPL-1.1
- opensuse-leap 16.0: perl-Encode-Detect 1.01-bp160.4.13 Β· MPL-1.1
- opensuse-leap 16.0: perl-Encode-Detect 1.01-bp160.4.13 Β· MPL-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms