[cl-rdbms-devel] hu.dwim.rdbms.oracle-utf-problems-9 - Just an endianness / byte-order problem?

Marshall McLuhan marshall.mcluhan at gmx.net
Wed Nov 3 22:42:13 UTC 2010


We get big endian but need little endian? How do we best change to little endian?

* (select-symtag)
23:11 0           RDBMS DEBUG   About to BEGIN transaction in database #<ORACLE {1002AB8041}>
..
23:11 0           RDBMS DRIBBLE Retrieving column: name="??????????", type=1, size=44
23:11 0           RDBMS DEBUG   Fetching "??????????" from buffer at index 0
23:11 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 
23:11 0           RDBMS DEBUG   Fetched: "???"
..
#<(AND (VECTOR T 8) (NOT SIMPLE-ARRAY)) {100358C16F}>

* (defparameter foostring (elt (elt * 0) 0))

FOOSTRING
* (length foostring)

3
* (lst (elt foostring 0) (elt foostring 1) (elt foostring 2))

(#\U6600 #\U6F00 #\U6F00)
* (coerce '(#\U0066 #\U006F #\U006F) 'string)

"foo"
* foostring

"???"
* 



Regards,
chris


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


More information about the cl-rdbms-devel mailing list