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 <>
On Mon, Jan 7, 2013 at 4:45 PM, Peter Enerccio <> 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.


Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)

Bc. Peter Vaňušanik