[Ecls-list] SBCL Sockets in ecl will not take string as buffer?
Peter Enerccio
enerccio at gmail.com
Mon Jan 7 15:50:15 UTC 2013
Isnt there unicode string -> base string decoding function?
Or is the only option to recompile ECL without unicode?
2013/1/7 Juan Jose Garcia-Ripoll <juanjose.garciaripoll at gmail.com>
> On Mon, Jan 7, 2013 at 4:45 PM, Peter Enerccio <enerccio at gmail.com> wrote:
>
>> Hello, I am trying to use SB-BSD-SOCKETS in ecl, however, since there is
>> no documentation about that, I am using documentation on SBCL webpage
>> (which is supposed to be the same for sockets), however, SOCKET-SEND
>> according to help on sbcl webpage can accept string as buffer, however,
>> this method is failing for me in ecl:
>
>
> Most likely this is due to the fact that the string is not a base-string,
> but a unicode-string. In that circumstance the C routine cannot cope with
> the buffer pointer and the FFI refuses to perform the appropriate C call.
>
> I am not sure how to proceed on this.
>
> Juanjo
>
> --
> Instituto de Física Fundamental, CSIC
> c/ Serrano, 113b, Madrid 28006 (Spain)
> http://juanjose.garciaripoll.googlepages.com
>
--
Bc. Peter Vaňušanik
http://www.bishojo.tk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130107/eff0559d/attachment.html>
More information about the ecl-devel
mailing list