When i use php (all version) with oci8 version 8.1.7 on linux, all character
like éèàù etc, are converted.


// connection a la base linux
$c = ocilogon("toto","totopass","linux");

$sql = "select * from toto_table where fonction like 'g%'";
$stmt = ociparse($c, $sql );


$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?


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to