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" <> wrote:
"Dmitry Ivanov" <> 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).



Sbcl-help mailing list