Hello,
I admit I’n not sure about which forum to post my question to.
Anyway, here’a my "problem" - not as much a problem (as my website is served alright) but it bugs me.
My website (www.rosebrossut.fr) was created in XHTML and with character encoding ASCII.
In the meta tags both the mime-type and character encoding is declared accordingly (application/xhtml+xml and us-ascii) but when I look in Firefox both are identified as text/html and windows-1252, respectively. Trying to validate the code using Validator.nu yields the same result and thus any XML markup and the subsequent us-ascii declaration results in a fatal error message.
I tried two ways of forcing the correct mime declaration (not convinced by those myself) but without any success.
1st idea: adding header('Content-type: application/xhtml+xml');
as first line to my PHP code.
2nd idea: adding AddType application/xhtml+xml .php
to my .htaccess file.
Can anyone explain this behaviour and (even better) give me an idea to solve this issue, please!?
Thank you very much!