Solved

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

Posted on 2012-03-14
2
1,661 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!
0
Comment
Question by:rascal
2 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 37723230
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
 
LVL 1

Author Closing Comment

by:rascal
ID: 37723574
Perfect - thanks!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question