MAN page from OpenSuSE perl-Text-WrapI18N-0.06-lp150.1.3.noarch.rpm
Section: User Contributed Perl Documentation (3)
Text::WrapI18N - Line wrapping module with support for multibyte, fullwidth,and combining characters and languages without whitespaces between words
use Text::WrapI18N qw(wrap $columns); wrap(firstheader, nextheader, texts);
This module intends to be a better Text::Wrap module. This module is needed to support multibyte character encodings suchas UTF-8,
EUC-JP, EUC-KR, GB2312,
and Big5. This module also supportscharacters with irregular widths, such as combining characters (whichoccupy zero columns on terminal, like diacritical marks in UTF-8
) andfullwidth characters (which occupy two columns on terminal, like mostof east Asian characters). Also, minimal handling of languages whichdoesn't use whitespaces between words (like Chinese and Japanese) issupported.
Like Text::Wrap, hyphenation and ``kinsoku'' processing are not supported,to keep simplicity.
wrap(firstheader, nextheader, texts) is the main subroutine ofText::WrapI18N module to execute the line wrapping. Input parametersand output data emulate Text::Wrap. The texts have to be written inlocale encoding.
COPYRIGHT AND LICENSE
Copyright 2003 by Tomohiro KUBOTA
This library is free software; you can redistribute it and/or modifyit under the same terms as Perl itself.
- SEE ALSO
- COPYRIGHT AND LICENSE
This document was created byman2html,using the manual pages.