Hi :)

On Thu 31 Mar 2011 16:28, l...@gnu.org (Ludovic Courtès) writes:

> Andy Wingo <wi...@pobox.com> writes:
>
>> It seems that the string->pointer code is doing the wrong thing:
>
> It works as advertised.  :-)

Sorry, I didn't mean to accuse that function, as I didn't even use it!

  (define (string->utf8-pointer s)
    (bytevector->pointer (string->utf8 s)))

That said, adding an #:encoding argument to string->pointer and
pointer->string sounds like a good idea.

Andy
-- 
http://wingolog.org/

Reply via email to