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 β€” alias latin2 β€” [ISO]
  • iso-8859-3 β€” alias latin3 β€” [ISO]
  • iso-8859-4 β€” alias latin4 β€” [ISO]
  • iso-8859-5 β€” [ISO]
  • iso-8859-6 β€” [ISO]
  • iso-8859-7 β€” [ISO]
  • iso-8859-8 β€” [ISO]
  • iso-8859-9 β€” alias latin5 β€” [ISO]
  • iso-8859-10 β€” alias latin6 β€” [ISO]
  • iso-8859-11
  • iso-8859-13 β€” alias latin7 β€” [ISO]
  • iso-8859-14 β€” alias latin8 β€” [ISO]
  • iso-8859-15 β€” alias latin9 β€” [ISO]
  • iso-8859-16 β€” alias latin10 β€” [ISO]

quick notes or whatever:

  • iso-8859-1 is in built-in πŸ’… (it gets the main character treatment, no module load needed)
  • iso-8859-12 is nonexistent 😭 it does not exist, never has, don't come for me

❄️ Cyrillic

  • koi8-f
  • koi8-r β€” alias cp878 β€” [RFC1489]
  • koi8-u β€” [RFC2319]

🌸 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

  • cp424
  • cp437
  • cp737
  • cp775
  • cp850
  • cp852
  • cp855
  • cp856
  • cp857
  • cp860
  • cp861
  • cp862
  • cp863
  • cp864
  • cp865
  • cp866
  • cp869
  • cp874
  • cp1006
  • cp1250 β€” WinLatin2
  • cp1251 β€” WinCyrillic
  • cp1252 β€” WinLatin1
  • cp1253 β€” WinGreek
  • cp1254 β€” WinTurkish
  • cp1255 β€” WinHebrew
  • cp1256 β€” WinArabic
  • cp1257 β€” WinBaltic
  • cp1258 β€” WinVietnamese

πŸ“ Macintosh

also see http://developer.apple.com/technotes/tn/tn1150.html

  • MacArabic
  • MacCentralEurRoman
  • MacCroatian
  • MacCyrillic
  • MacFarsi
  • MacGreek
  • MacHebrew
  • MacIcelandic
  • MacRoman
  • MacRomanian
  • MacRumanian
  • MacSami
  • MacThai
  • MacTurkish
  • MacUkrainian

🧚 more vendor encodings

  • AdobeStandardEncoding
  • nextstep
  • hp-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