Hi,

I have the same problem that has been already reported:

        
http://groups.google.com/groups?selm=20050506063526.GA13145%40night.netis.priv

Client (DBD::Oracle v1.16, client libraries v10.1.0.3.0) tries to fetch data
(expects UTF8 charset, NLS_LANG=AMERICAN_AMERICA.UTF8) from server (v10.1.0.3.0,
NLS_CHARACTERSET=EE8ISO8859P2) and in almost cases it dies with ORA-24345: 
A Truncation or null fetch error occurred. I've $dbh->trace(9)-ed my script 
and I've got fbh->csid=32 (I think this value corresponds to EE8ISO8859P2). So,
macro CS_IS_UTF8 used on line 1142 of oci8.c returns false and fbh->disize is 
left unchanged on the next line.

Few lines above (line 1117) fbh->csid is filled with value of 
OCI_ATTR_CHARSET_ID
attribute via OCIAttrGet(). Is this correct? Because setting completely 
different 
NSL_LANG (e.g. CL8ISO8859P5) seems to have no effect on fbh->csid.

-- 
Jan Holčapek

e-mail:  [EMAIL PROTECTED]

Reply via email to