Home

The textproc/p5-Text-CharWidth port

p5-Text-CharWidth-0.04p0 – get number of occupied columns of a string on terminal (cvsweb github mirror)

Description

This module allows determining the display width of strings, mostly
useful with multibyte character encodings. It provides functionality
equivalent to C's wcwidth(3), wcswidth(3) and mblen(3).

While most characters have a width of 1, there are exceptions - many
east Asian characters have a width of 2, and some languages use Unicode
"combining characters" which have a zero width.
WWW: https://metacpan.org/release/Text-CharWidth

Maintainer

The OpenBSD ports mailing-list

Categories

perl5 textproc

Files

Search