Kaixo!

On Wed, Sep 18, 2002 at 10:26:19PM +0100, Robert de Bath wrote:
> On Wed, 18 Sep 2002, Michael B. Allen wrote:
> 
> > Perhaps encdec. The interface is a little nicer for common situations.
> >
> >   http://freshmeat.net/projects/encdec/
> 
> Nice, still not as 'smooth' as I'd hoped and I don't think there's any
> support for 'character' counting as opposed to 'display cell' counting.

Has counting characters any usefulness ? (other than doing statistics
on number of chars)

Everytime I saw a count of bytes/chars the purpose was always to determine
the length it has in order to know the place it will take once displayed,
to do things like proper column alignment, cursor positioning, and such.

In fact count of display cells is a very good thing to have, and probalby
what was actually intended in most cases of counting things in text strings;
it's imply that, until recently, only scripts where 1 char = 1 column were
supported properly, so the illusion that what was counted were chars
instead of columns.
 
-- 
Ki �a vos v�ye b�n,
Pablo Saratxaga

http://chanae.stben.be/pablo/           PGP Key available, key ID: 0xD9B85466
[you can write me in Walloon, Spanish, French, English, Italian or Portuguese]

Attachment: msg03142/pgp00000.pgp
Description: PGP signature

Reply via email to