Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37562177
en ru br
ALT Linux repositórios
S:0.04-alt4.2
5.0: 0.04-alt2
4.1: 0.04-alt1
4.0: 0.04-alt1

Group :: Desenvolvimento/Perl
RPM: perl-Text-CharWidth

 Principal   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

A versão atual: 0.04-alt1
Data da compilação: 17 fevereiro 2006, 01:02 ( 949.3 weeks ago )
Tamanho:: 12.51 Kb

Home page:   http://www.cpan.org

Licença: Artistic
Sumário: Get number of occupied columns of a string on terminal
Descrição:

This module supplies features similar as wcwidth(3) and wcswidth(3)
in C language.

Characters have its own width on terminal depending on locale.
For example, ASCII characters occupy one column per character,
east Asian fullwidth characters (like Hiragana or Han Ideograph)
occupy two columns per character, and combining characters (apperaring
in ISO-8859-11 Thai, Unicode, and so on) occupy zero columns per
character.  mbwidth() gives the width of the first character of
the given string and mbswidth() gives the width of the whole given
string.

The names of mbwidth and mbswidth came from "multibyte" versions
of wcwidth and wcswidth which are "wide character" versions.

*mblen(string)* returns number of bytes of the first character of the
string.  Please note that a character may consist of multiple
bytes in multibyte encodings such as UTF-8, EUC-JP, EUC-KR,
GB2312, or Big5.

*mbwidth(string)* returns the width of the first character of the
string.  *mbswidth(string)* returns the width of the whole string.

Parameters are to be given in locale encodings, not always in UTF-8.

Mantenedor currente: Vitaly Lipatov

Lista dos contribuidores

Lista dos rpms provida por esta srpm:

  • perl-Text-CharWidth
ACL:
     
    projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    mantenedor atual: Michael Shigorin
    mantenedor da tradução: Fernando Martini aka fmartini © 2009