• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2231
  • Last Modified:

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

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!
0
rascal
Asked:
rascal
1 Solution
 
Brad HoweDevOps ManagerCommented:
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
0
 
rascalAuthor Commented:
Perfect - thanks!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now