April 6th, 2011, 01:25 PM
Accents disappear in mailto link
Have a mailto link that inserts #title# from an Access table,
into the Subject line of email.
Title is: Québec 2011 Information .... In IE the subject line displays as: QuACbec 2011 Information
Québec accents display correctly on the web pages; ... ideas on how to fix appreciated. Cheers
April 6th, 2011, 03:41 PM
You need to URL-encode it.
Are you using ASP Classic or ASP.Net (or something else)?
April 6th, 2011, 04:39 PM
ColdFusion ... here is the code ....
Originally Posted by frapple
<a class="a3" href="mailto:email@example.com?subject=Request%20for%20information&body=Request information for: #details.title# %0D%0A%0D%0APlease%20include%20your%20name%20so%20we%20can%20personalize%20return%20information.">Re quest Information</a>
everything works fine ... how would you URL encode the href?
April 6th, 2011, 05:26 PM
Wrap your variable (NOT the entire URL since most of it is already URL encoded) in URLEncodedFormat().
Or, remove all of the URL encoding you already have and use URLEncodedFormat() on the entire URL string.
April 6th, 2011, 06:47 PM
Thanks Kiteless ... talked client into going with onboard form that can be databased with variable recipient control ... senders province determines which rep gets the form request. The complexity upcharge got my grandson a new netbook
Originally Posted by kiteless