Notice also the :external-format option to  alien c-string, which gives you an implicit copy in whatever format you ask for. (...yeah, not sure if that its properly documented anywhere.)

Sorry about top posting,

  - n

On 1 Apr 2014 08:58, "Christophe Rhodes" <csr21@cantab.net> wrote:
"Dmitry Ivanov" <divanov11@gmail.com> writes:

> BTW, I have failed to find in the manual what encoding the Unicode version
> of SBCL on Windows is using for strings of the character element type. Is
> this USC-2 or UTF-8?

It's not documented as far as I remember, but it's UCS-4 (i.e. 4 bytes
per character).

Cheers,

Christophe

------------------------------------------------------------------------------
_______________________________________________
Sbcl-help mailing list
Sbcl-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-help