{
    "mode": "perldoc",
    "parameter": "Text::WrapI18N",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Text%3A%3AWrapI18N/json",
    "generated": "2026-06-10T23:35:46Z",
    "synopsis": "use Text::WrapI18N qw(wrap $columns);\nwrap(firstheader, nextheader, texts);",
    "sections": {
        "NAME": {
            "content": "Text::WrapI18N - Line wrapping module with support for multibyte, fullwidth, and combining\ncharacters and languages without whitespaces between words\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Text::WrapI18N qw(wrap $columns);\nwrap(firstheader, nextheader, texts);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module intends to be a better Text::Wrap module. This module is needed to support multibyte\ncharacter encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, and Big5. This module also supports\ncharacters with irregular widths, such as combining characters (which occupy zero columns on\nterminal, like diacritical marks in UTF-8) and fullwidth characters (which occupy two columns on\nterminal, like most of east Asian characters). Also, minimal handling of languages which doesn't\nuse whitespaces between words (like Chinese and Japanese) is supported.\n\nLike Text::Wrap, hyphenation and \"kinsoku\" processing are not supported, to keep simplicity.\n\n*wrap(firstheader, nextheader, texts)* is the main subroutine of Text::WrapI18N module to\nexecute the line wrapping. Input parameters and output data emulate Text::Wrap. The texts have\nto be written in locale encoding.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "",
            "subsections": [
                {
                    "name": "locale",
                    "content": ""
                }
            ]
        },
        "AUTHOR": {
            "content": "Tomohiro KUBOTA, <kubota@debian.org>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "Copyright 2003 by Tomohiro KUBOTA\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        }
    },
    "summary": "Text::WrapI18N - Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words",
    "flags": [],
    "examples": [],
    "see_also": []
}