{
    "mode": "perldoc",
    "parameter": "Encode::KR",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Encode%3A%3AKR/json",
    "generated": "2026-06-03T04:26:50Z",
    "synopsis": "use Encode qw/encode decode/;\n$euckr = encode(\"euc-kr\", $utf8);   # loads Encode::KR implicitly\n$utf8   = decode(\"euc-kr\", $euckr); # ditto",
    "sections": {
        "NAME": {
            "content": "Encode::KR - Korean Encodings\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Encode qw/encode decode/;\n$euckr = encode(\"euc-kr\", $utf8);   # loads Encode::KR implicitly\n$utf8   = decode(\"euc-kr\", $euckr); # ditto\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module implements Korean charset encodings. Encodings supported are as follows.\n\nCanonical   Alias             Description\n--------------------------------------------------------------------\neuc-kr      /\\beuc.*kr$/i     EUC (Extended Unix Character)\n/\\bkr.*euc$/i\nksc5601-raw                   Korean standard code set (as is)\ncp949       /(?:x-)?uhc$/i\n/(?:x-)?windows-949$/i\n/\\bksc5601-1987$/i\nCode Page 949 (EUC-KR + 8,822\n(additional Hangul syllables)\nMacKorean                     EUC-KR + Apple Vendor Mappings\njohab       JOHAB             A supplementary encoding defined in\nAnnex 3 of KS X 1001:1998\niso-2022-kr                   iso-2022-kr                  [RFC1557]\n--------------------------------------------------------------------\n\nTo find how to use this module in detail, see Encode.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "When you see \"charset=ksc5601-1987\" on mails and web pages, they really mean \"cp949\"\nencodings. To fix that, the following aliases are set;\n\nqr/(?:x-)?uhc$/i         => '\"cp949\"'\nqr/(?:x-)?windows-949$/i => '\"cp949\"'\nqr/ksc5601-1987$/i     => '\"cp949\"'\n\nThe ASCII region (0x00-0x7f) is preserved for all encodings, even though this conflicts with\nmappings by the Unicode Consortium.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Encode\n",
            "subsections": []
        }
    },
    "summary": "Encode::KR - Korean Encodings",
    "flags": [],
    "examples": [],
    "see_also": []
}