When you’re using special characters in your HTML and the output doesn’t look like you expected, you’ll need to change a line in apache’s config file.
Open the file
/etc/http/conf/httpd.conf in your favorite editor (
vi) and search for the string
AddDefaultCharset. This causes your weird output. You can either delete this entire line, or you can change the UTF-8 setting to your own locale.
Don’t forget to restart apache.