On Fri, May 06, 2005 at 10:35:27AM +0400, Alexander V. Lukyanov wrote:
> Hi! I have a problem with DBD::Oracle, when the database itself has
> CL8ISO8859P5 character set, and NLS_LANG specifies UTF8 as charset.
> Oracle server and libraries version is 9.2.0.1, under solaris.
> 
> I get this error:
> DBD::Oracle::st fetch failed: ORA-24345: A Truncation or null fetch error
> occurred (DBD ERROR: ORA-01406 error on field 1 of 1, ora_type 1)
> 
> I have added a debug print in oci8.c:1142 near `if (CS_IS_UTF8(fbh->csid))'
> and got this:
> 
>     fbh->csid=35, utf8_csid=871
> 
> so the buffer is not enlarged for utf8 as it should be. I have added 1||
> to the `if' as a workaround, and the problem gone.

Thanks.

Can you make a very small self-contained test case for that, and send
it to me along with a level 9 trace log?

Tim.

Reply via email to