Welcome to WebmasterWorld Guest from

Forum Moderators: ocean10000

Message Too Old, No Replies

Site IIS 6 Charset codification setting - No effect

My pages do not specify a charset - Firefox shows a "?" for special chars

7:28 pm on Feb 1, 2007 (gmt 0)

10+ Year Member

Hi, I have a problem that my MS-Certified hosting could not solve... Maybe someone here could help me...

Only using firefox, my pages containing special spanish characters (most pages) like "á" or "í" are shown as "?" (most times FireFox is not guessing the charset correctly as IE)

I tried forcing a charset inserting an ASP line in some pages:
and those pages loaded OK, I have also tried with utf-8, but was not ok although it was the recommended one.
(The meta tag charset specification method worked the same way)

I don't know how to fix the site at once without editing 5000+ pages (also I would like to keep the original date stamp), it seems there is a way to specify the charset in IIS 6 setting a custom header for my site with "text/html;charset=iso-8859-1" but once the hosting support guy did that, it remained unfixed, it seems that although specified the charset code does not appear in the content-type line added, the HTTP header shows:


While the pages with the hard-coded line showed that line as:

The hosting support tried several times, but could not fix it..

Any help will be apreciated!

10:46 am on Feb 3, 2007 (gmt 0)

10+ Year Member

hope one of these might help:

Response.AddHeader "Content-Type", "text/html;ISO-8859-1"


Response.AddHeader "Content-Type", "ISO-8859-1"

6:27 am on Feb 5, 2007 (gmt 0)

10+ Year Member

Thank you for the answer Makeupalley, but that would require editing each page to add the code...

The idea is to get IIS configured to fix the site at once without editing 5000+ pages (also I would like to keep the original date stamp)