Encode::EBCDIC(3perl)

πŸ’– NAME πŸ’–

Encode::EBCDIC β€” EBCDIC Encodings, bestie. That's the whole vibe.


✨ SYNOPSIS ✨

okay so here's the whole thing in action, copy it exactly:

use Encode qw/encode decode/;
$posix_bc  = encode("posix-bc", $utf8); # loads Encode::EBCDIC implicitly
$utf8 = decode("", $posix_bc);          # ditto
Notice that second call uses an empty string as the encoding name β€” that's literally how it's written on the page, so keep it char-for-char, no cap. 🫢

Also yes, that comment is real: just calling encode with "posix-bc" loads Encode::EBCDIC for you behind the scenes. No use needed, it just shows up like a bestie who already knows.


🌸 ABSTRACT 🌸

This module implements a whole lil squad of EBCDIC-Based encodings. Here's the lineup of what's supported:

  Canonical   Alias             Description
  --------------------------------------------------------------------
  cp37
  cp500
  cp875
  cp1026
  cp1047
  posix-bc

So, breaking down those columns, because the table gives you Canonical, Alias and Description headers, but every row's Alias and Description cells are just... blank. Empty. Void. Not a single entry. The canonical names are the whole story here:

  • cp37
  • cp500
  • cp875
  • cp1026
  • cp1047
  • posix-bc

Six encodings, zero aliases, no descriptions attached. That's it, that's the menu. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

To find how to use this module in detail, see Encode. That's the whole description, bestie β€” the real instructions live over there. Go read it, iykyk. πŸ“–


πŸŽ€ SEE ALSO πŸŽ€

  • Encode
  • perlebcdic

and that's the page!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

This was Encode::EBCDIC(3perl) from the Perl Programmers Reference Guide, and the footer says perl v5.44.0, dated 2026-10-17. slay, go encode something. πŸ‘‘πŸŒˆβ­

πŸ“¦ 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