Re: PHP4 OCIFetch with Oracle
| From: | Thies C. Arntzen | Date: | Sun, 19 Aug 2001 10:15:36 +0000 |
| Subject: | Re: PHP4 OCIFetch with Oracle | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11516@lists.php.net to get a copy of this message | ||
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