Re: Oracle10 e PHP

From: Daniele <nospam_at_nospam.it>
Date: Wed, 25 Feb 2009 11:56:21 +0100
Message-ID: <go3842$cvd$1_at_aioe.org>


> The conversion from 1 to 3 bytes is because sql*net thinks the client uses
> a different characterset than the database, probably UTF.
>
> Do you specify a characterset in the oci_connect?
>
>
> $c = oci_connect("hr", "hrpwd", "localhost/XE", 'AL32UTF8');
>
Very strange thing.
In my oci_connect I already had the characterset among parameters.

Removing it ( $c = oci_connect("hr", "hrpwd", "localhost/XE"); ) the conversion from 1 to 3 bytes doesn't happen anymore, and my initial problem seems resolved.

>
> I found this in
> http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf:
>

Thank you for the manual, I'll read it.

    Daniele Received on Wed Feb 25 2009 - 11:56:21 CET

Original text of this message