Encode::Byte(3perl)
π NAME π
Encode::Byte β Single Byte Encodings, bestie πΈ
(and yeah, it's Encode::Byte(3perl), the perl manual page, we're doing this π
)
β¨ SYNOPSIS β¨
okay so it's genuinely just this:
use Encode qw/encode decode/;
$greek = encode("iso-8859-7", $utf8); # loads Encode::Byte implicitly
$utf8 = decode("iso-8859-7", $greek); # ditto
like, that's it. you don't even have to use the module yourself, it just shows up when you need it π«Ά
π¦ ABSTRACT π¦
So this module is the plug for a whole bunch of single byte encodings. For most cases it uses \x80-\xff β aka the upper half β to map the non-ASCII characters. β¨
The encodings it supports are, and I'm listing every single one because we don't gatekeep here π
π ISO 8859 series
iso-8859-2β aliaslatin2β [ISO]iso-8859-3β aliaslatin3β [ISO]iso-8859-4β aliaslatin4β [ISO]iso-8859-5β [ISO]iso-8859-6β [ISO]iso-8859-7β [ISO]iso-8859-8β [ISO]iso-8859-9β aliaslatin5β [ISO]iso-8859-10β aliaslatin6β [ISO]iso-8859-11iso-8859-13β aliaslatin7β [ISO]iso-8859-14β aliaslatin8β [ISO]iso-8859-15β aliaslatin9β [ISO]iso-8859-16β aliaslatin10β [ISO]
quick notes or whatever:
iso-8859-1is in built-in π (it gets the main character treatment, no module load needed)iso-8859-12is nonexistent π it does not exist, never has, don't come for me
βοΈ Cyrillic
πΈ Vietnamese
viscii
π» the cp* crew
heads up: all the cp* ones are also available as ibm-*, ms-*, and windows-*. iconic of them honestly.
also see http://msdn.microsoft.com/en-us/library/aa752010%28VS.85%29.aspx
cp424cp437cp737cp775cp850cp852cp855cp856cp857cp860cp861cp862cp863cp864cp865cp866cp869cp874cp1006cp1250βWinLatin2cp1251βWinCyrilliccp1252βWinLatin1cp1253βWinGreekcp1254βWinTurkishcp1255βWinHebrewcp1256βWinArabiccp1257βWinBalticcp1258βWinVietnamese
π Macintosh
also see http://developer.apple.com/technotes/tn/tn1150.html
MacArabicMacCentralEurRomanMacCroatianMacCyrillicMacFarsiMacGreekMacHebrewMacIcelandicMacRomanMacRomanianMacRumanianMacSamiMacThaiMacTurkishMacUkrainian
π§ more vendor encodings
AdobeStandardEncodingnextstephp-roman8
π DESCRIPTION π
ngl this page is keeping it short. To find how to use this module in detail, see Encode. β¨
π SEE ALSO π
Encode
so that's the whole vibe, bestie π go forth and decode your little single-byte hearts out, fr fr no cap π
this was perl v5.44.0, dated 2026-10-17, and yes the page is literally called Encode::Byte(3perl) β slay, bye π¦β¨
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms