[cl-rdbms-devel] hu.dwim.rdbms.oracle-utf-problems-6 - trailing zero byte problem for ascii characters using utf-8?
Attila Lendvai
attila.lendvai at gmail.com
Wed Nov 3 13:15:49 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...
--
attila
More information about the cl-rdbms-devel
mailing list