[cl-rdbms-devel] hu.dwim.rdbms.oracle-utf-problems-7

Marshall McLuhan marshall.mcluhan at gmx.net
Wed Nov 3 13:43:15 UTC 2010


> > The converter doesn't seem to remove the second byte which is zero. ( 66 00
> > 6F 00 6F 00 equals "foo" )
> > As far as I know UTF-8 uses only one byte per ascii character. How do I get
> > this thing to remove the zero byte?
> >
> >
> >
> > 12:20 0           RDBMS DRIBBLE Convert from 5, size is 90, content:
> > 66 00 6F 00 6F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 
> 
> this data is utf-16, babel can deal with that, too.
> 
> i'm looking into installing oracle now, so that i can test it myself...
>

Hm, the connection encoding is UTF-16. SBCL doesn't support UTF-16. Therefore I have to convert
the UTF-16 string with babel to UTF-8 if babel does such a thing.
Sounds promising. But, if that is right, why isn't this done by default.
Is there a lisp that uses UTF-16? I will try this later, have to eat and thank you.

> -- 
>  attila

chris


!DSPAM:4cd166f348585239786034!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cl-rdbms-devel/attachments/20101103/da7889c2/attachment.html>


More information about the cl-rdbms-devel mailing list