<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta name="Generator" content="Zarafa WebAccess v6.20.4-14107">
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<title>hu.dwim.rdbms.oracle-utf-problems-9 - Just an endianness / byte-order problem?</title>
<style type="text/css">
body
{
font-family: Arial, Verdana, Sans-Serif;
font-size: 12px;
padding: 5px 5px 5px 5px;
margin: 0px;
border-style: none;
background-color: #ffffff;
}
p, ul, li
{
margin-top: 0px;
margin-bottom: 0px;
}
</style>
</head>
<body>
<p>We get big endian but need little endian? How do we best change to little endian?<br /><br />* (select-symtag)<br />23:11 0 RDBMS DEBUG About to BEGIN transaction in database #<ORACLE {1002AB8041}><br />...<br />23:11 0 RDBMS DRIBBLE Retrieving column: name="??????????", type=1, size=44<br />23:11 0 RDBMS DEBUG Fetching "??????????" from buffer at index 0<br />23:11 0 RDBMS DRIBBLE Convert from 5, size is 90, content:<br />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 <br />23:11 0 RDBMS DEBUG Fetched: "???"<br />...<br />#<(AND (VECTOR T 8) (NOT SIMPLE-ARRAY)) {100358C16F}><br /><br />* (defparameter foostring (elt (elt * 0) 0))<br /><br />FOOSTRING<br />* (length foostring)<br /><br />3<br />* (lst (elt foostring 0) (elt foostring 1) (elt foostring 2))<br /><br />(#\U6600 #\U6F00 #\U6F00)<br />* (coerce '(#\U0066 #\U006F #\U006F) 'string)<br /><br />"foo"<br />* foostring<br /><br />"???"<br />* <br /><br /><br /><br />Regards,<br />chris</p>
!DSPAM:4cd1e54648587535314996!
</body>
</html>