We help IT Professionals succeed at work.

How to set charset utf-8 in an http header in IIS 6

rascal
rascal asked
on
Medium Priority
2,726 Views
Last Modified: 2012-03-14
Hi Experts,
I am trying to use IIS 6 to set the charset to utf-8 but can't find a single resource that describes the correct syntax for this in the IIS 6 Custom HTTP Header section.

Can anyone tell me explicitly what should be entered into the 2 entry boxes:

Custom Header Name
Custom Header Value

Thanks experts!
Comment
Watch Question

DevOps Manager
Top Expert 2011
Commented:
Hi,

1. In Internet Services Manager
2. Right-click on your website and go to "Properties"
3. "HTTP Headers"
4. "Mime Types..."
5. "New Type...".

Put in the extension you want to map, separately for each extension. For example map .htm, .html

Then, for Content type, add "text/html;charset=utf-8"
(without the quotes; substitute your desired charset for utf-8)

Once added you can verify here,
http://www.seoconsultants.com/tools/headers

Content type should be
Content-Type: text/html;charset=utf-8

Cheers,
Hades666

Author

Commented:
Perfect - thanks!

Explore More ContentExplore courses, solutions, and other research materials related to this topic.