Re: [dev] GSoC 2010

From: Anselm R Garbe <anselm_AT_garbe.us>
Date: Mon, 8 Mar 2010 15:44:28 +0000

On 8 March 2010 15:39, Gregor Best <gbe_AT_ring0.de> wrote:
> On Mon, Mar 08, 2010 at 02:57:50PM +0000, Anselm R Garbe wrote:
>> [...]
>> Can't see why UTF-8 would require any specific handling at the libc level.
>> [...]
>
> Aren't strlen() and friends part of libc?

Sure, but according to the spec:

"The strlen() function shall compute the number of bytes in the string
to which s points, not including the terminating null byte."

strlen() should not count multi-char characters as 1 but rather return
number of bytes. Do you disagree?

Cheers,
Anselm
Received on Mon Mar 08 2010 - 15:44:28 UTC

This archive was generated by hypermail 2.2.0 : Mon Mar 08 2010 - 15:48:03 UTC