php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6534 problem while inserting accented character whith OCI
Submitted: 2000-09-04 14:27 UTC Modified: 2006-07-17 08:36 UTC
From: guenault at cstech dot fr Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.2 OS: Sun OS 5.7
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: guenault at cstech dot fr
New email:
PHP Version: OS:

 

 [2000-09-04 14:27 UTC] guenault at cstech dot fr
First Problem :
I try to insert accented characters values into a table using OCI and PHP4.0.2
the characters ? became i , ? became h ...etc.....
When i do the same query using sql+ there are no problem 
 - this  problem have been solved using htmlentities to convert accented chars to html and decoded in oracle using a stored procedure.

Second problem :
When i maque a select query on values that are accented,  accent desapear :  for exemple "r?sum?" is stored in the table and the query return "resume"

Do you have ever heard about this problem ?

Thanks a lot you make a very good job !

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-05 08:23 UTC] thies@php.net
please set your NLS_LANG to something meaningful in your apache startup script.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 15:01:31 2025 UTC