{
    "content": [
        {
            "type": "text",
            "text": "# Encode::TW (perldoc)\n\n**Summary:** Encode::TW - Taiwan-based Chinese Encodings\n\n**Synopsis:** use Encode qw/encode decode/;\n$big5 = encode(\"big5\", $utf8); # loads Encode::TW implicitly\n$utf8 = decode(\"big5\", $big5); # ditto\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (4 lines)\n- **DESCRIPTION** (18 lines)\n- **NOTES** (5 lines)\n- **BUGS** (10 lines)\n- **SEE ALSO** (2 lines)\n\n## Full Content\n\n### NAME\n\nEncode::TW - Taiwan-based Chinese Encodings\n\n### SYNOPSIS\n\nuse Encode qw/encode decode/;\n$big5 = encode(\"big5\", $utf8); # loads Encode::TW implicitly\n$utf8 = decode(\"big5\", $big5); # ditto\n\n### DESCRIPTION\n\nThis module implements tradition Chinese charset encodings as used in Taiwan and Hong Kong.\nEncodings supported are as follows.\n\nCanonical   Alias             Description\n--------------------------------------------------------------------\nbig5-eten   /\\bbig-?5$/i      Big5 encoding (with ETen extensions)\n/\\bbig5-?et(en)?$/i\n/\\btca-?big5$/i\nbig5-hkscs  /\\bbig5-?hk(scs)?$/i\n/\\bhk(scs)?-?big5$/i\nBig5 + Cantonese characters in Hong Kong\nMacChineseTrad                Big5 + Apple Vendor Mappings\ncp950                         Code Page 950\n= Big5 + Microsoft vendor mappings\n--------------------------------------------------------------------\n\nTo find out how to use this module in detail, see Encode.\n\n### NOTES\n\nDue to size concerns, \"EUC-TW\" (Extended Unix Character), \"CCCII\" (Chinese Character Code for\nInformation Interchange), \"BIG5PLUS\" (CMEX's Big5+) and \"BIG5EXT\" (CMEX's Big5e) are distributed\nseparately on CPAN, under the name Encode::HanExtra. That module also contains extra China-based\nencodings.\n\n### BUGS\n\nSince the original \"big5\" encoding (1984) is not supported anywhere (glibc and DOS-based systems\nuses \"big5\" to mean \"big5-eten\"; Microsoft uses \"big5\" to mean \"cp950\"), a conscious decision\nwas made to alias \"big5\" to \"big5-eten\", which is the de facto superset of the original big5.\n\nThe \"CNS11643\" encoding files are not complete. For common \"CNS11643\" manipulation, please use\n\"EUC-TW\" in Encode::HanExtra, which contains planes 1-7.\n\nThe ASCII region (0x00-0x7f) is preserved for all encodings, even though this conflicts with\nmappings by the Unicode Consortium.\n\n### SEE ALSO\n\nEncode\n\n"
        }
    ],
    "structuredContent": {
        "command": "Encode::TW",
        "section": "",
        "mode": "perldoc",
        "summary": "Encode::TW - Taiwan-based Chinese Encodings",
        "synopsis": "use Encode qw/encode decode/;\n$big5 = encode(\"big5\", $utf8); # loads Encode::TW implicitly\n$utf8 = decode(\"big5\", $big5); # ditto",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Encode::TW - Taiwan-based Chinese Encodings\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Encode qw/encode decode/;\n$big5 = encode(\"big5\", $utf8); # loads Encode::TW implicitly\n$utf8 = decode(\"big5\", $big5); # ditto\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module implements tradition Chinese charset encodings as used in Taiwan and Hong Kong.\nEncodings supported are as follows.\n\nCanonical   Alias             Description\n--------------------------------------------------------------------\nbig5-eten   /\\bbig-?5$/i      Big5 encoding (with ETen extensions)\n/\\bbig5-?et(en)?$/i\n/\\btca-?big5$/i\nbig5-hkscs  /\\bbig5-?hk(scs)?$/i\n/\\bhk(scs)?-?big5$/i\nBig5 + Cantonese characters in Hong Kong\nMacChineseTrad                Big5 + Apple Vendor Mappings\ncp950                         Code Page 950\n= Big5 + Microsoft vendor mappings\n--------------------------------------------------------------------\n\nTo find out how to use this module in detail, see Encode.\n",
                "subsections": []
            },
            "NOTES": {
                "content": "Due to size concerns, \"EUC-TW\" (Extended Unix Character), \"CCCII\" (Chinese Character Code for\nInformation Interchange), \"BIG5PLUS\" (CMEX's Big5+) and \"BIG5EXT\" (CMEX's Big5e) are distributed\nseparately on CPAN, under the name Encode::HanExtra. That module also contains extra China-based\nencodings.\n",
                "subsections": []
            },
            "BUGS": {
                "content": "Since the original \"big5\" encoding (1984) is not supported anywhere (glibc and DOS-based systems\nuses \"big5\" to mean \"big5-eten\"; Microsoft uses \"big5\" to mean \"cp950\"), a conscious decision\nwas made to alias \"big5\" to \"big5-eten\", which is the de facto superset of the original big5.\n\nThe \"CNS11643\" encoding files are not complete. For common \"CNS11643\" manipulation, please use\n\"EUC-TW\" in Encode::HanExtra, which contains planes 1-7.\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": []
            }
        }
    }
}