| 1 |
Text::WrapI18N version 0.06 |
| 2 |
=========================== |
| 3 |
|
| 4 |
This is a module which intends to substitute Text::Wrap, |
| 5 |
which supports internationalized texts including: |
| 6 |
- multibyte encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, and Big5, |
| 7 |
- fullwidth characters like east Asian characters which appear in |
| 8 |
UTF-8, EUC-JP, EUC-KR, GB2312, Big5, and so on, |
| 9 |
- combining characters like diacritical marks which appear in UTF-8, |
| 10 |
ISO-8859-11 (aka TIS-620), and so on, and |
| 11 |
- languages which don't use whitespaces between words, like Chinese |
| 12 |
and Japanese. |
| 13 |
|
| 14 |
The text is to be given in locale encoding, not always in UTF-8. |
| 15 |
(Of course locale encoding is UTF-8 in UTF-8 locales.) |
| 16 |
|
| 17 |
$Text::WrapI18N::columns is available like $Text::Wrap::columns. |
| 18 |
Also, $Text::WrapI18N::separator is available. |
| 19 |
|
| 20 |
However, $Text::WrapI18N::huge, $Text::WrapI18N::break, |
| 21 |
$Text::WrapI18N::tabstop, and $Text::WrapI18N::unexpand are not |
| 22 |
available yet. |
| 23 |
|
| 24 |
This module is originally written for "debconf", a standard configuration |
| 25 |
system of Debian. |
| 26 |
|
| 27 |
|
| 28 |
Prerequisites |
| 29 |
------------- |
| 30 |
|
| 31 |
This needs Text::CharWidth module. |
| 32 |
|
| 33 |
|
| 34 |
Build and Install |
| 35 |
----------------- |
| 36 |
|
| 37 |
Please use standard way to build and install this module: |
| 38 |
|
| 39 |
perl Makefile.PL |
| 40 |
make |
| 41 |
make install |
| 42 |
|
| 43 |
|
| 44 |
COPYRIGHT AND LICENCE |
| 45 |
--------------------- |
| 46 |
|
| 47 |
Copyright (C) 2003 Tomohiro KUBOTA <[email protected]> |
| 48 |
|
| 49 |
This library is free software; you can redistribute it and/or modify |
| 50 |
it under the terms of either: |
| 51 |
|
| 52 |
a) the GNU General Public License as published by the Free Software |
| 53 |
Foundation; either version 1, or (at your option) any later |
| 54 |
version, or |
| 55 |
|
| 56 |
b) the "Artistic License" which comes with Perl. |
| 57 |
|