Important utf-8 ASP Information, utf-8 ASP files, utf-8 preamble, utf-8 ASP Scripts

Question:

My ASP page that processes a form request using utf-8 is not working. What's up?

Answer:

The problem is that the IIS process needs to know that your ASP page is utf-8. If you include the utf-8 preamble at the beginning of the ASP file, it works. The utf-8 preamble is a sequence of these three bytes: 0xEF 0xBB 0xBF. This GIF image shows two ASP pages as viewed in a Hex Editor -- one with a utf-8 preamble, and one without. The one with the utf-8 preamble works correctly. You can use a text editor such as EmEditor to do a "Save As" to save a text file as utf-8 with the preamble.