note 100285 rejected from function.mysql-set-charset by danbrown
| From: | danbrown@php.net | Date: | Wed, 06 Oct 2010 14:45:22 +0000 |
| Subject: | note 100285 rejected from function.mysql-set-charset by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173014@lists.php.net to get a copy of this message | ||
Note Submitter: s_a_m104 at hotmail dot com
----
Hello
Im having a similiar problem
I am trying to retrieve data from oracle into PHP and I have successfully accomplished that, but the
data appeared in question marks (??????), so I add the AMERICAN_AMERICA.AR8MSWIN1256 to NLS language
in the registry for oracle and now the data appears as (ÃÃãà ÃÃáÃÃ
ÃÃà ÃáÃÃÃáÃ). I tried encoding and all suggested character sets from
IE and from the PHP code but had no results. I tried Windows-1256, UTF-8 & 16, I would
appreciate some support for this issue
By the way anything else in the page that is not generated from the database and written in arabic
appears in arabic OK with no problems so i have no problem with that, only with what is generated
from the database.
windows-1256 generates (ÃÃãà ÃÃáÃà ÃÃÃ
ÃáÃÃÃáÃ)
UTF-8 generates (����� � ����� )
But I have not tried what is suggested above because I dont know if SQL command will work for
Oracle.
Thank you