Bug #12187: character like é or è are converted to e
| From: | f dot labanvoye at cg70 dot fr | Date: | Mon, 16 Jul 2001 14:36:04 +0000 |
| Subject: | Bug #12187: character like é or è are converted to e | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-60101@lists.php.net to get a copy of this message | ||
From: f.labanvoye@cg70.fr
Operating system: Linux Redhat
PHP version: 4.0.6
PHP Bug Type: OCI8 related
Bug description: character like é or è are converted to e
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 bug report at: http://bugs.php.net/?id=12187&edit=1