[plt-scheme] scheme_eval_string

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Dec 15 14:58:50 EST 2005

At Thu, 15 Dec 2005 12:51:26 -0700, "Chongkai Zhu" wrote:
> Hi all,
> 
> In v299, The document of scheme_eval_string is the same as that in v209.
> 
> Scheme_Object *scheme_eval_string(char *str, Scheme_Env *env) 
> Reads an S-expression from str and evaluates it in the given namespace 
> (raising an exception if the expression returns multiple values).
> 
> Does this mean that str is a nul-terminated byte string that is a UTF-8 
> encoding?

Yes.

> If yes, should better be explicitly mentioned in the
> document.

There's a blanket statement in the Unicode section that "char*" means
UTF-8 encoded, but I'm happy to add clarification to the docs for
prominent functions like this one.

Thanks,
Matthew



Posted on the users mailing list.