[babel-devel] question about #\Nul char and Unicode
Vsevolod Dyomkin
vseloved at gmail.com
Fri Aug 6 11:58:43 UTC 2010
Hello Luís,
after some more examination I've discovered, that the error really was not
connected with Babel, but rather with some "impedance mismatch" between CFFI
and ZMQ: CFFI currently is able to support only null-terminated strings,
while ZMQ operates in blobs, so TRANSLATE-FROM-FOREIGN was fed with the
data, it was not ready to handle.
I've prepared a patch to CFFI, that can handle this situation (additional
TRANSLATE- method for string blobs of known size) and will soon send it, if
I no better solution will be found.
Best regards,
Vsevolod
On Thu, Aug 5, 2010 at 12:35 AM, Luís Oliveira <luismbo at gmail.com> wrote:
> Hello Vsevolod,
>
> On Wed, Aug 4, 2010 at 9:42 PM, Vsevolod Dyomkin <vseloved at gmail.com>
> wrote:
> > It's also worth mentioning, that I'm using babel-0.3.
>
> Perhaps you should try with the development versions of babel and
> CFFI. Let me know if that helps.
>
> Cheers,
>
> --
> Luís Oliveira
> http://r42.eu/~luis/ <http://r42.eu/%7Eluis/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/babel-devel/attachments/20100806/0dc4b2f5/attachment.html>
More information about the babel-devel
mailing list