Re: Oracle8 and varchar

From: Date: Wed, 28 Jun 2000 18:26:23 +0000
Subject: Re: Oracle8 and varchar
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-706@lists.php.net to get a copy of this message
On Wed, Jun 28, 2000 at 12:23:35PM +0200, Olivier Lepretre wrote: > Hi Rouvas : > > This is the code. the column b.proc_desc is the varchar2(20) causing problem (and all varchar2 > fields are causing me the same problem). if the value is for example GUIDE, the function strlen > returns a size of 10 .... but the real size is 5 .... After investigation, it appears that the > string is composed of G\0U\0I\0D\0E\0 .... strange isn't it ? > > The server is ORA/NT 8.0.5, client is on RH6.1 ORA8.0.x please set ORACLE_HOME, ORACLE_SID and NLS_LANG *before* you start your apache. (not in httpd.cong and not usign putenv in your script.) that's most likely to solve your trouble. tc <snip>

« previous php.db (#706) next »