Re: Oracle10 e PHP
Date: Wed, 25 Feb 2009 11:56:21 +0100
> 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
Thank you for the manual, I'll read it.
Daniele Received on Wed Feb 25 2009 - 11:56:21 CET