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:[EMAIL PROTECTED]
> Sent: Monday, October 06, 2003 6:11 PM
> To: [EMAIL PROTECTED]
> 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.




Reply via email to