Sounds really weird, sounds like an OS thing. Could you try on windows?

- Ammar

On 1/29/07, Al-Faisal El-Dajani <[EMAIL PROTECTED]> wrote:
>
> I tried it with Firefox, IE, Epiphany, Elinks, and Lynx. Nothing worked.
>
> I added the command var_dump(iconv_get_encoding('all')); and it showed me
> that internal, output, and input encoding is ISO-8859-1.
> So i ran the commands iconv_set_encoding, and changed them all to UTF-8,
> but it still doesn't work. I don't know if that had anything to do with the
> problem, but it really is starting to get on my nerves by this time!!!
>
> On 1/29/07, Ammar Ibrahim <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 1/29/07, Al-Faisal El-Dajani < [EMAIL PROTECTED]> wrote:
> > >
> > > Hey Ammar,
> > > I installed LiveHTTPHeaders, I attached the output, but if i read it
> > > correctly, everything is in order, right?
> > > Also, in my apache2.conf file, i have AddDefaultCharset UTF-8 :-(
> > >
> > > On 1/29/07, Ammar Ibrahim <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Did you check the HTTP headers? Apache by default sends an HTTP
> > > > header that might override other stuff. Use LiveHTTPHeaders in Firefox 
> > > > to
> > > > debug and check. If it does just comment the line "AddDefaultCharset
> > > > whatever-iso-blabla"
> > > >
> > > > - Ammar
> > > >
> > > > On 1/29/07, Al-Faisal El-Dajani < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hello guys,
> > > > >
> > > > > I'm facing an encoding problem, and i seriously can't think of
> > > > > other ways to solve it.
> > > > >
> > > > > I created my database, all tables have charset=utf8 and
> > > > > collation=utf8-unicode-ci.
> > > > > MySQL's my.cnf file contains default-character-set=utf8 and
> > > > > character-set-server =utf8 and collation-server=utf8-unicode-ci
> > > > > All my output files have charset=utf8 in <head>
> > > > > My broswer is set to encoding unicode(utf8)
> > > > >
> > > > > Now all data that is arabic in my DB, show in arabic through the
> > > > > shell and phpmyadmin, but on my site, it shows as gibberish. And all 
> > > > > that
> > > > > data i enter from my site, appear in arabic on the site, but 
> > > > > gibberish in
> > > > > the shell and phpmyadmin. Where is the problem??? what did i forget 
> > > > > to do?
> > > > >
> > > > > --
> > > > > Al-Faisal El-Dajani
> > > > > Phone: +962-7-77 799 781
> > > > > P.O Box: 140056
> > > > > 11814 Amman, Jordan
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Al-Faisal El-Dajani
> > > Phone: +962-7-77 799 781
> > > P.O Box: 140056
> > > 11814 Amman, Jordan
> > >
> > >
> > > http://localhost/test.php
> > >
> > > GET /test.php HTTP/1.1
> > > Host: localhost
> > > User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: 1.8.0.9)
> > > Gecko/20070126 Ubuntu/dapper-security Firefox/1.5.0.9
> > > Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=
> > > 0.9,text/plain;q=0.8,image/png,*/*;q=0.5
> > > Accept-Language: en-us,en;q=0.5
> > > Accept-Encoding: gzip,deflate
> > > Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> > > Keep-Alive: 300
> > > Connection: keep-alive
> > > Cookie:
> > > phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D
> > >
> > > Pragma: no-cache
> > > Cache-Control: no-cache
> > >
> > > HTTP/1.x 200 OK
> > > Date: Mon, 29 Jan 2007 13:09:23 GMT
> > > Server: Apache/2.0.55 (Ubuntu) PHP/5.1.2
> > > X-Powered-By: PHP/5.1.2
> > > Content-Length: 31
> > > Keep-Alive: timeout=15, max=99
> > > Connection: Keep-Alive
> > > Content-Type: text/html; charset=UTF-8
> > > ----------------------------------------------------------
> > >
> > >
> >
> > Headers look good
> >
> >
> >
>
>
> --
> Al-Faisal El-Dajani
> Phone: +962-7-77 799 781
> P.O Box: 140056
> 11814 Amman, Jordan
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Jordan PHP Users Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/JoPHP
http://Jolug.org/
-~----------~----~----~----~------~----~------~--~---

Reply via email to