On 8 March 2010 15:39, Gregor Best <g...@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