note 100285 added to function.mysql-set-charset
| From: | s_a_m104 at hotmail dot com | Date: | Wed, 06 Oct 2010 08:01:54 +0000 |
| Subject: | note 100285 added to function.mysql-set-charset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-172995@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.197
Probable Submitter: 194.165.149.122
----
Manual Page -- http://www.php.net/manual/en/function.mysql-set-charset.php
Edit -- https://master.php.net/note/edit/100285
Del: integrated -- https://master.php.net/note/delete/100285/integrated
Del: useless -- https://master.php.net/note/delete/100285/useless
Del: bad code -- https://master.php.net/note/delete/100285/bad+code
Del: spam -- https://master.php.net/note/delete/100285/spam
Del: non-english -- https://master.php.net/note/delete/100285/non-english
Del: in docs -- https://master.php.net/note/delete/100285/in+docs
Del: other reasons-- https://master.php.net/note/delete/100285
Reject -- https://master.php.net/note/reject/100285
Search -- https://master.php.net/manage/user-notes.php