Link to home
Start Free TrialLog in
Avatar of bakum
bakum

asked on

default page encoding

Hi,

This might not be an Apache question but I think it is so bear with me...thanks....

I have some web pages that are encoded with UTF-8.  I have set <meta http-equiv="Content-Type" content="text/html; charset=utf-8" > on the pages, but still the default encoding by the browser is ISO-8859-1, which causes some of the characters to display wrong.  if you manually change the encoding in Firefox or IE to UTF-8 the page reloads and we're all very happy, the characters all display right, etc.  

So how do I get this encoding to default for every browser?!  I'm assuming since I've set the meta tag in the HTML and it's still not working it's an Apache thing.  

Thanks!
 
ASKER CERTIFIED SOLUTION
Avatar of periwinkle
periwinkle
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bakum
bakum

ASKER

That was it.  I set up an .htaccess file where those utf-8 files are and set

AddDefaultCharset Off

did the trick.  Turns out that in most circumstances there should be no default charset set for Apache.  That this should be left to the HTML, generally.
Glad to have assisted!  Good luck with your site!