problem with php
| From: | Claudio Favola MEC | Date: | Fri, 04 Oct 2002 15:49:33 +0000 |
| Subject: | problem with php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-12944@lists.php.net to get a copy of this message | ||
HI, i'm a php developer and I've a question for you!
Do you know why i read a accent field's value of Oracle's Table it is without accent???
ex:
I read this word from Oracle : "cioè"
i read this on PHP pages: "cioe"
this is the code i've wrote
$connOracle = OCILogon($UtenteOracle,$PassOracle,$DBOracle);
$sql="select mec.tblservizio2001.* ,TO_CHAR(oraultimaoperazione,'dd/mm/yyyy
HH24.MI.SS') as DATATESTO from MEC.TBLSERVIZIO2001 where rownum<=$NumRecord order by
OraUltimaOperazione";
$loRsRitagliOracle= ociparse($connOracle,$sql);
ociexecute($loRsRitagliOracle,OCI_DEFAULT);
while (ocifetch($loRsRitagliOracle))
{
echo ociresult($loRsRitagliOracle,"TITOLOARTICOLO")."<br>";
echo ord(ociresult($loRsRitagliOracle,"TITOLOARTICOLO"))."<br>";
echo ord("è")."<br>";
$Titolo=ociresult($loRsRitagliOracle,"TITOLOARTICOLO");
echo $Titolo."<br>";
}
thanks for help
Claudio Favola.