RE: Non-ascii string processing?

From: Jill Ramonsky (Jill.Ramonsky@aculab.com)
Date: Mon Oct 06 2003 - 12:31:26 CST


Could you try that again with codepoints > U+FFFF please? I'd be curious
to know what happens.
Jill

> -----Original Message-----
> From: John Delacour [mailto:JD@BD8.COM]
> Sent: Monday, October 06, 2003 2:15 PM
> To: unicode@unicode.org
> Subject: RE: Non-ascii string processing?
>
>
> At 12:09 pm +0200 6/10/03, Marco Cimarosti wrote:
>
> > What strlen() cannot do is countng the number of
> *characters* in a string.
> > But who cares? I can imagine very few situations where
> someone such an
> > information would be useful.
>
> #!/usr/bin/perl
> print "ab, \x{aaaa}\x{aaab}" ;
> printf "\n%s, %s", length "ab" , length "\x{aaaa}\x{aaab}" ;
>
> ab, ́́
> 2, 2
>



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