hi guys

i have this:

<cfif mailtosend eq 1>
    <cfset mailsubject = 'buy this for £10' >
<cfelseif mailtosend eq 2>
    <cfset mailsubject = 'buy something else for £20'>
</cfif>

<cfmail to="[email protected]" from="[email protected]" subject="#mailsubject #" >
message
</cfmail>

(my subject lines arent really as spammy as this -but you get my point)

I need a pound £ symbol in the subject line but when i do a test mailing the 
pound sign converts to a funny symbol

ive tried using the &pound ; and &#163 ; but the former didnt work either and 
the latter caused a cf error due to the # 

i tried changing the # to ## but that didnt work either

im sure im missing something somewhere

perhaps i need a function like cfencodee_as_subject_line('buy this for £10') 
but i cant find anything in google

any help would be very grateful received

thanks very much indeed

Nick


No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.5/1883 - Release Date: 1/8/2009 6:05 
PM



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4275
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to