WrapI18N(3pm) User Contributed Perl Documentation WrapI18N(3pm)NAME
Text::WrapI18N - Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces
between words
SYNOPSIS
use Text::WrapI18N qw(wrap $columns);
wrap(firstheader, nextheader, texts);
DESCRIPTION
This module intends to be a better Text::Wrap module. This module is needed to support multibyte character encodings such as UTF-8, EUC-
JP, EUC-KR, GB2312, and Big5. This module also supports characters with irregular widths, such as combining characters (which occupy zero
columns on terminal, like diacritical marks in UTF-8) and fullwidth characters (which occupy two columns on terminal, like most of east
Asian characters). Also, minimal handling of languages which doesn't use whitespaces between words (like Chinese and Japanese) is
supported.
Like Text::Wrap, hyphenation and "kinsoku" processing are not supported, to keep simplicity.
wrap(firstheader, nextheader, texts) is the main subroutine of Text::WrapI18N module to execute the line wrapping. Input parameters and
output data emulate Text::Wrap. The texts have to be written in locale encoding.
SEE ALSO locale(5), utf-8(7), charsets(7)AUTHOR
Tomohiro KUBOTA, <kubota@debian.org>
COPYRIGHT AND LICENSE
Copyright 2003 by Tomohiro KUBOTA
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.0 2009-06-09 WrapI18N(3pm)
Check Out this Related Man Page
WrapI18N(3pm) User Contributed Perl Documentation WrapI18N(3pm)NAME
Text::WrapI18N - Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces
between words
SYNOPSIS
use Text::WrapI18N qw(wrap $columns);
wrap(firstheader, nextheader, texts);
DESCRIPTION
This module intends to be a better Text::Wrap module. This module is needed to support multibyte character encodings such as UTF-8, EUC-
JP, EUC-KR, GB2312, and Big5. This module also supports characters with irregular widths, such as combining characters (which occupy zero
columns on terminal, like diacritical marks in UTF-8) and fullwidth characters (which occupy two columns on terminal, like most of east
Asian characters). Also, minimal handling of languages which doesn't use whitespaces between words (like Chinese and Japanese) is
supported.
Like Text::Wrap, hyphenation and "kinsoku" processing are not supported, to keep simplicity.
wrap(firstheader, nextheader, texts) is the main subroutine of Text::WrapI18N module to execute the line wrapping. Input parameters and
output data emulate Text::Wrap. The texts have to be written in locale encoding.
SEE ALSO locale(5), utf-8(7), charsets(7)AUTHOR
Tomohiro KUBOTA, <kubota@debian.org>
COPYRIGHT AND LICENSE
Copyright 2003 by Tomohiro KUBOTA
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.0 2009-06-12 WrapI18N(3pm)
I am reading a field from a file. This field have trailing whitespaces.
Does anyone knows, how to get rid of these whitespaces, at the time of reading?
I know sed command as follows which removes whitespaces on a row -
sed 's/*$//' rows (4 Replies)
Hi Radoulov,
I have tried the code for testing as I too required this on numbers of occasion to combining two line having length of 132 characters .I am
using RedHat 9 Linux.
I am using like if ( nr % 2 == o ) or
if ( nr % 3 == 0 ) and fetching the data from the... (0 Replies)
hi, i want to use module Text::Wrap.
this module provides the option $Text::Wrap::tabstop to change the tabstop from 8 blanks to any nummer.
i want to set it to 30 blanks. but when i change the nummer of blanks nothing happens.
Text::Wrap::tabstop = 30;
$wtd = wrap("","\t",$1);
or do i... (3 Replies)
Hi
Please tell me how could i delete symbols, whitespaces, characters, words everything between two words in a line. Let my file is
aaa BB ccc ddd eee FF kkk xxx
123456 BB 44^& iop FF 999
xxx uuu rrr BB hhh nnn FF 000
I want to delete everything comes in between BB and FF( deletion... (3 Replies)
Hi Friends,
I am Stuck up with a problem on transposing Rows to Coloumns.. Though there are many threads on this my problem is little difficult..
I have a tab separated file like Below,
computer selling_loc currency_type manufacturer_name salesweek-wk1 sales-wk2 ...wk-3 ..wk4 till... (7 Replies)
How can i find texts inside a html tag using sed?
Html texts:
What i tried:
cat infile | sed -e 's/\(<kbd*\)\(.*\)\(kbd>\)/\2/
Expected result like this:
sed -i -e 's/@colophon/@@colophon/' \ -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo (5 Replies)
Discussion started by: cola
5 Replies
9. Post Here to Contact Site Administrators and Moderators
Can you add hover texts (alt-texts) to icons? It is not always obvious what each of them mean just by looking at them. Sometimes it is clear from the url it points to, but for accessibility reasons alone it would be good to have alt-texts as a standard. (1 Reply)