cancel
Showing results for 
Search instead for 
Did you mean: 

[PAYH] Character encoding in Firefox

mattirons
Not applicable
Posts: 1
Registered: ‎13-02-2009

[PAYH] Character encoding in Firefox

I have just joined the trail for PAYH and uploaded a website to the PAYH server. When I view the website in Firefox, it displays using Western (ISO-8859-1) encoding which makes all apostrophe characters appear as ’. If I manually change the character encoding to Unicode (UTF-8) then everything displays correctly. The (usually invisible) BOM character at the start of the file also displays as ’ and so pushes all the formatting out a little bit. I have tried saving the file without the BOM character (using Notepad++) and this fixes the formatting problem but apostrophes are still displayed as ’. 
This only happens on the home page of the website, other pages display apostrophes correctly although they are still using Western (ISO-8859-1) encoding . This only happens in Firefox, Internet explorer displays the page correctly using Unicode (UTF-8).
The same website uploaded to PlusNet's ordinary webspace (not CGI or FrontPage) does not have this problem. Firefox correctly uses Unicode (UTF-8) formatting on all the pages and all characters display as expected.
The html files contain the following code to instruct the browser which character encoding to use:
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
Any ideas what's going wrong?
Thanks,
Matt.