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:[EMAIL PROTECTED] > Sent: Monday, October 06, 2003 2:15 PM > To: [EMAIL PROTECTED] > Subject: RE: Non-ascii string processing? > > > At 12:09 pm +0200 6/10/03, Marco Cimarosti wrote: > > > What strlen() cannot do is countîng 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 >




Reply via email to