|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12187 character like ? or ? are converted to e
Submitted: 2001-07-16 10:36 UTC Modified: 2001-07-16 10:44 UTC
From: f dot labanvoye at cg70 dot fr Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.6 OS: Linux Redhat
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: f dot labanvoye at cg70 dot fr
New email:
PHP Version: OS:


 [2001-07-16 10:36 UTC] f dot labanvoye at cg70 dot fr
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.

The same script on windows platform with oci8 8.1.6 works fine. (on the same database all rights).

I need patch rapidly...



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-16 10:44 UTC]
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 Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 12 15:01:35 2024 UTC