Hi.
Unfortunately, I had installed Ubuntu again, lost all my work =D and I don't have an example. Lost almost everything but I'll try to explain it briefly and not including all the code.
I have the header, footer and the main_nav in a folder called Includes, I use PHP in my main HTML document wich looks like this:
<?php include "includes/header.inc"; ?>
<?php include "includes/main_nav.inc";?>
<!DOCTYPE html>
<html>
<head>
<title>Encoding problem</title>
<meta charset= UTF-8>
</head>
<body>
<h1>WHATEVER</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque egestas, sapien eu blandit bibendum, elit velit sollicitudin nisl, at adipiscing lectus</p>
<?php include= "includes/footer.inc";?>
</body>
</html>
Everything all right but, for example, in my main_nav, the accents (or tildes) don' t work and it shows an "?" instead of the correct word.
I think It's an encoding problem and I don't know why the UTF-8 works in my main: <body><h1></h1><p></p></body> but it doesn't in the files ".inc" =(.
Hope you can help me and thank you for replying.