Php and greek characters?

  • Thread starter Thread starter Gutsini
  • Start date Start date
G

Gutsini

Guest
So, i recently found a tutorial in the net for getting rid of frames and having the same functionality using php.
When i tried it everything worked except pages with greek characters in them.
When i load the page in Firefox greek chars are shown as questionmarks(?). When i try reloading the page sometimes the chars appear correctly and sometimes not! In IE however characters never appear correctly. I tried every solution i found online, both inserting a line like this: header('Content-Type: text/html; charset=utf-8'); in php and setting a meta tag like this:<meta http-equiv="content-type" content="text/html; charset=utf-8" /> in the webpage. I also tried <html lang="el"> and <span lang="el"> wherever i use greek chars.

Unfortunately nothing works!! Please help cause i can't find anything else to try.. Please keep in mind that i'm really new to php..

P.S. the php only uses echo and inlcude functions. For any other information needed please ask
What page do you want to see? the .httaccess? or the php code? i have access to any file needed but keep in mind that the .httaccess file contains only the line:ErrorDocument 404 /home.htm
 
Back
Top