<!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-7</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>> > The converter doesn't seem to remove the second byte which is zero. ( 66 00<br />> > 6F 00 6F 00 equals "foo" )<br />> > As far as I know UTF-8 uses only one byte per ascii character. How do I get<br />> > this thing to remove the zero byte?<br />> ><br />> ><br />> ><br />> > 12:20 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<br />> > 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 />> > 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 />> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br />> <br />> <br />> this data is utf-16, babel can deal with that, too.<br />> <br />> i'm looking into installing oracle now, so that i can test it myself...<br />><br /><br />Hm, the connection encoding is UTF-16. SBCL doesn't support UTF-16. Therefore I have to convert<br />the UTF-16 string with babel to UTF-8 if babel does such a thing.<br />Sounds promising. But, if that is right, why isn't this done by default.<br />Is there a lisp that uses UTF-16? I will try this later, have to eat and thank you.<br /><br />> -- <br />> attila<br /><br />chris</p>
!DSPAM:4cd166f348585239786034!
</body>
</html>