problem with oci8

From: Date: Mon, 16 Jul 2001 15:19:19 +0000
Subject: problem with oci8
Groups: php.db 
Request: Send a blank email to php-db+get-10451@lists.php.net to get a copy of this message
When i use php (all version) with oci8 version 8.1.7 on linux, all character like éèàù etc, are converted. script: <? // connection a la base linux $c = ocilogon("toto","totopass","linux"); $sql = "select * from toto_table where fonction like 'g%'"; $stmt = ociparse($c, $sql ); ociexecute($stmt); $nb_row = ocifetchstatement($stmt, $result); echo $nb_row; for($i=0;$i<$nb_row; $i++) echo $result["ID"][$i]."--".$result["FONCTION"][$i]."<br>"; ?> Fonction value is "générique" and appear "generique" on web page. How can i get good charater? Thanks

« previous php.db (#10451) next »