|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2023 The PHP Group
All rights reserved.
Last updated: Wed Mar 22 22:03:41 2023 UTC