>-Returns the number of characters in the given @var{string}.
+Returns the number of bytes in the given @var{string}.
 
This is false. For example, (string-length "😀") is 1, whereas in all encodings 
I know of it is more than one byte. Also, R5RS says:

>procedure: string-length string
>Returns the number of characters in the given string.

, not “return the number of bytes”. Without mentioning the encoding, the 
“number of bytes” would be ill-defined anyways.

Best regards,
Maxime Devos.

Reply via email to