<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
<rss version="2.0" xml:base="http://foddrick.com">
<channel>
 <title>Foddrick - c++</title>
 <link>http://foddrick.com/taxonomy/term/17/all</link>
 <description></description>
 <language>en</language>
<item>
 <title>Unexpected ORA-1406</title>
 <link>http://foddrick.com/node/63</link>
 <description>&lt;p&gt;Today I started getting ORA-1406 errors from VERY well tested code.&lt;br /&gt;
Not tested well enough it seems.  Some OCI library code that I wrote to simplify the task of fetching data was getting ora-1406 errors.&lt;br /&gt;
It turns out that OCI (or the calls that I use) does not take into account the local character set when advising on the maximum size of a column.  My local charset was UTF8 but the databases was USASCII.  I hit an (erroneous) hi bit character and it exceeded the size that I had allocated.  If anyone knows how to ask OCI for how many bytes a field needs taking into account your local characte&lt;/p&gt;
</description>
 <category domain="http://foddrick.com/taxonomy/term/17">c++</category>
 <category domain="http://foddrick.com/taxonomy/term/16">Eureka</category>
 <pubDate>Tue, 04 Oct 2005 21:30:58 +1000</pubDate>
</item>
</channel>
</rss>
