Bug #12187 Updated: character like é or è are converted to e

From: Date: Mon, 16 Jul 2001 14:44:22 +0000
Subject: Bug #12187 Updated: character like é or è are converted to e
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60103@lists.php.net to get a copy of this message
ID: 12187 Updated by: hholzgra Reported By: f.labanvoye@cg70.fr Old Status: Open Status: Closed Bug Type: OCI8 related Operating System: Linux Redhat PHP Version: 4.0.6 New Comment: this is not a php problem but is almost certainly related to your environment settings, especialy things like $NLS_LANG you should ask your question at php-db@lists.php.net Previous Comments: ------------------------------------------------------------------------ [2001-07-16 10:36:03] f.labanvoye@cg70.fr 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. The same script on windows platform with oci8 8.1.6 works fine. (on the same database all rights). I need patch rapidly... Thanks ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12187&edit=1

« previous php.dev (#60103) next »