Solved

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

Posted on 2012-03-14
2
1,615 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Machine Key during migration form IIS6 to 8.5 2 62
Hosting WCF service on IIS6 with SSL enabled 1 51
IIS Page - Getting a Runtime Error 3 45
DLL in ASP.NET 20 56
Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

912 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now