Re: [PHP-DB] PHP4 OCIFetch with Oracle

2001-08-19 Thread Thies C. Arntzen

On 17 Aug 2001 19:41:26 +0200, Konrad BüKo wrote:
 Hi
 
 We've a Problem with PHP4 OCIFetch and varchar2 !
 
 OCHIFetch with number or date Field it work's fine but when i'll fetch a
 varchar2 Field then i've no output in the browser !
 
 When i dump the array then i see the character is 20 Bytes my field is 10
 bytes i suppose so the character is unicode !
 
  Anybody have i idea what i can do for change the characterset ?

please set NLS_LANG before you start your webserver.

see http://www.php.net/manual/en/ref.oci8.php

re,
tc



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] PHP4 OCIFetch with Oracle

2001-08-17 Thread Konrad BüKo

Hi

We've a Problem with PHP4 OCIFetch and varchar2 !

OCHIFetch with number or date Field it work's fine but when i'll fetch a
varchar2 Field then i've no output in the browser !

When i dump the array then i see the character is 20 Bytes my field is 10
bytes i suppose so the character is unicode !

 Anybody have i idea what i can do for change the characterset ?

 -- Rudi