[cl-rdbms-devel] hu.dwim.rdbms.oracle-utf-problems-11 - Still trouble even with new babel?

Marshall McLuhan marshall.mcluhan at gmx.net
Thu Nov 4 16:36:52 UTC 2010



For me it seems iolib is the only system using babel directly?
Can't see iolib using the octects-to-string function, only for dns but maybe I didn't look hard enough.
Or it uses another babel function to do this?

Do I have to turn on the right byte-ordering somewhere, just for the time being?


Regards,
chris


BABEL> (let ((octet-array-utf-16le (make-array 6 :element-type '(unsigned-byte 8)
                           :initial-contents (vector #X66 #X00 #X6F #X00 #X6F #X00))))
     (babel:octets-to-string octet-array-utf-16le :encoding :utf-16))
"???"
BABEL>


* (select-symtag)
--TIME MARK 2010-11-04--
17:03 0           RDBMS DEBUG   About to BEGIN transaction in database #<ORACLE {1003BAE741}>
17:03 0           RDBMS DEBUG   Executing "SELECT SYMTAG_KEY FROM symtag"
..
17:03 0           RDBMS DEBUG   Preparing command: "SELECT SYMTAG_KEY FROM symtag"
17:03 0           RDBMS DEBUG   Fetching "??????????" from buffer at index 0
17:03 0           RDBMS DEBUG   Fetched: "???"
17:03 0           RDBMS DEBUG   Fetching "??????????" from buffer at index 0
..
#<(AND (VECTOR T 8) (NOT SIMPLE-ARRAY)) {100403E8DF}>
* (defparameter foostr (elt (elt * 0) 0))

FOOSTR
* (lst (elt foostr 0) (elt foostr 1) (elt foostr 2))

(#\U6600 #\U6F00 #\U6F00)
* foostr

"???"
* 


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


More information about the cl-rdbms-devel mailing list