ID: 12187
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
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 [EMAIL PROTECTED]

Previous Comments:
------------------------------------------------------------------------

[2001-07-16 10:36:03] [EMAIL PROTECTED]

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


-- 
PHP Development 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