Hi,
I created this static website in which each page has the following structure:
- Common stuff like header, menu, etc.
- Page specific stuff in main content div
- Footer
In the website linked above all the common stuff was duplicated in each page. In order to improve the maintainability I refactored the pages to use server-side includes (SSI) so that the common parts are not duplicated. The structure of each page is now
- SSI for Common stuff like header, menu, etc.
- Page specific stuff in main content div
- SSI for footer
I uploaded the refactored site to this address, and as you can see it didn't quite work out. For some reason the French characters no longer display properly in the page-specific content area, though they display fine in the content included via SSIs.
The included header specifies the character set as:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
If I open one of the main content pages in a browser it tells me that the character encoding is ISO-8859-1. I've tried adding a .htaccess file to the folder with the lines
AddDefaultCharset UTF-8
AddCharset UTF-8 .shtml
AddCharset UTF-8 .html
But still those pesky French accents aren't displaying properly on the version of the site that uses SSIs.
Cheers, Don