{
    "mode": "perldoc",
    "parameter": "Email::MIME::Encodings",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Email%3A%3AMIME%3A%3AEncodings/json",
    "generated": "2026-10-09T17:06:05Z",
    "synopsis": "use Email::MIME::Encodings;\nmy $encoded = Email::MIME::Encodings::encode(base64 => $body);\nmy $decoded = Email::MIME::Encodings::decode(base64 => $encoded);\nIf a third argument is given, it is the encoding to which to fall back. If no valid codec can be\nfound (considering both the first and third arguments) then an exception is raised.",
    "sections": {
        "NAME": {
            "content": "Email::MIME::Encodings - A unified interface to MIME encoding and decoding\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 1.317\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Email::MIME::Encodings;\nmy $encoded = Email::MIME::Encodings::encode(base64 => $body);\nmy $decoded = Email::MIME::Encodings::decode(base64 => $encoded);\n\nIf a third argument is given, it is the encoding to which to fall back. If no valid codec can be\nfound (considering both the first and third arguments) then an exception is raised.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module simply wraps \"MIME::Base64\" and \"MIME::QuotedPrint\" so that you can throw the\ncontents of a \"Content-Transfer-Encoding\" header at some text and have the right thing happen.\n\n\"MIME::Base64\", \"MIME::QuotedPrint\", \"Email::MIME\".\n",
            "subsections": []
        },
        "PERL VERSION": {
            "content": "This library should run on perls released even a long time ago. It should work on any version of\nperl released in the last five years.\n\nAlthough it may work on older versions of perl, no guarantee is made that the minimum required\nversion will not be increased. The version may be increased for any reason, and there is no\npromise that patches will be accepted to lower the minimum required perl.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "*   Simon Cozens <simon@cpan.org>\n\n*   Casey West <casey@geeknest.com>\n\n*   Ricardo SIGNES <cpan@semiotic.systems>\n",
            "subsections": []
        },
        "CONTRIBUTORS": {
            "content": "*   David Steinbrunner <dsteinbrunner@pobox.com>\n\n*   Ricardo Signes <rjbs@semiotic.systems>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "This software is copyright (c) 2004 by Simon Cozens and Casey West.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
            "subsections": []
        }
    },
    "summary": "Email::MIME::Encodings - A unified interface to MIME encoding and decoding",
    "flags": [],
    "examples": [],
    "see_also": []
}