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
"???"
*