Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2012-03-14
2
Medium Priority
?
2,130 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

971 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