Try to use this code
<cfset crlf = "chr(13)&chr(10)">
<cfmail
to="#Form.EMAIL_TO#"
from="#Form.EMAIL_FROM#"
subject="#Form.EMAIL_SUBJECT#">
                
        <cfmailparam name="Content-type"
value='multipart/alternative;boundary="#evaluate(crlf)#Content-Type:text
/plain;"'>
        <cfmailparam name="MIME-Version" value="1.0">

Add your text here or include the file which will be emailed    
</cfmail>

-----Original Message-----
From: Sam Clement [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 01, 2004 4:36 PM
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] CFMAIL and foreign characters

Does anyone know how to use CFMAIL so that foreign characters
(UTF-*/Unicode?) are displayed in webmail properly?

The app is a simple mailing form.  The text is cut and paste from either
word or notepad.

I've tried this script with no luck:
<cfscript>
SetEncoding("form","utf-8");
SetEncoding("url","utf-8");
</cfscript> 
 

 

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]




--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to