CDO UTF-8, fixing eMail problems from ASP Unicode forms

Receiving Unicode UTF-8 email messages with all those international characters and accents seems impossible, and some solutions that are usually proposed, such as having the body part defined as “utf-8″ are worthless.

You’ll never see your forms work, unless you define the UTF-8 encoding not in the page that actually sends the email, but to the page where the form resides.

You might (think that you) have already done that, by placing this short meta tag at the top of that page (<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″>).

It’s useless, you can just delete it. In order to have your form work, you must give it an asp order to use UTF-8 encoding. Here is what you need to have at the top of the asp page where the form is, in order for Unicode messages to be sent and arrive in your mailbox with all the special characters intact.

<%@ language="vbscript" codepage=65001 %>
<% Response.CharSet = "UTF-8" %>
<% session.CodePage=65001 %>