I am running windows 2003 with iis 6. When I set up a content type as a custom header like this
Content-Type:text/html;charset=utf-8
It changed the way images are served. In Firefox, the image appears in the page correctly, but if the image url is typed directly into the address bar, the binary code appears in the page instead of the image. This is due to an incorect header, no doubt. Other web sites on the same server don't have this problem, despite the fact that the content type is the default text/html. So I am thinking that if the content type that includes the charset is only used for pages with web page extensions (.htm, html, .asp, etc), then it will be o.k. So my question is this: How do I map the content type that sets the charset to the correct extensions? Thank You!
Content-Type:text/html;charset=utf-8
It changed the way images are served. In Firefox, the image appears in the page correctly, but if the image url is typed directly into the address bar, the binary code appears in the page instead of the image. This is due to an incorect header, no doubt. Other web sites on the same server don't have this problem, despite the fact that the content type is the default text/html. So I am thinking that if the content type that includes the charset is only used for pages with web page extensions (.htm, html, .asp, etc), then it will be o.k. So my question is this: How do I map the content type that sets the charset to the correct extensions? Thank You!