RE: Non-ascii string processing?

From: Jill Ramonsky (Jill.Ramonsky@aculab.com)
Date: Tue Oct 07 2003 - 03:35:46 CST


Knowing the number of characters won't help you one iota. What you need
to know here is the number of default grapheme clusters.
I still have yet to hear a useful purpose for counting the number of
/characters/.

Jill

> -----Original Message-----
> From: Edward H. Trager [mailto:ehtrager@umich.edu]
> Sent: Monday, October 06, 2003 6:11 PM
> To: unicode@unicode.org
> Cc: Marco Cimarosti
> Subject: Re: Non-ascii string processing?
>
>
> Well, I know a good use for it: a console or terminal-based
> application which
> displays information using fixed-width fonts in a tabular
> form, such as a subset
> of records from a database table. To calculate how wide to
> display each column, knowing the
> maximum number of characters in the strings for each column
> is a useful starting
> place.



This archive was generated by hypermail 2.1.5 : Thu Jan 18 2007 - 15:54:24 CST