[Bese-devel] UCW and Unicode

Pascal Bourguignon pjb at informatimago.com
Thu Nov 10 06:37:51 UTC 2005


Jan Rychter writes:
> I'm desperate enough to actually dive into this, but I feel I'm missing
> something fundamental about CL -- namely, how to treat byte-data in
> memory (say, in a vector) as a utf-8 character stream. I can't find a
> way, and yet there should be one.

IMO, the correct way is to have a binary stream (since the HTTP is
actually a binary protocol),  and to use:

     #+clisp  EXT:CONVERT-STRING-TO-BYTES  
and  #+clisp  EXT:CONVERT-STRING-FROM-BYTES

There may have similar functions in other implementations.

-- 
"Klingon function calls do not have "parameters" -- they have
"arguments" and they ALWAYS WIN THEM."



More information about the bese-devel mailing list