These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Acrobat mailto link with french special charactors

plastik
Registered: Nov 2 2010
Posts: 2

Hi Guys,
I wonder if you can help,
 
I am trying to add a pre-filled in email link from a PDF
I have an email name, subject line and body text which is listed like so
 
email [at] company [dot] com
Inscription Déjeuner-Présentation à l'hôtel George V - 24/11/2010
Nom:
Prénom:
Compagnie:
Téléphone:
Commentaires:
 
and we are using the HTML code
 
mailto:email [at] company [dot] com?subject=Inscription%20Déjeuner-Présentation%20à%20l'hôtel%20George%20V%20-%2024/11/2010"&body=Nom:%20%0DPrénom:%20%0DCompagnie:%20%0DTéléphone:%20%0DCommentaires:%20%0D
 
which is not working.
 
The best result we have had so far
 
mailto:email [at] company [dot] com?subject="Inscription Déjeuner-Présentation à l'hôtel George V - 24/11/2010"&body=Nom:%20%0DPrénom:%20%0DCompagnie:%20%0DTéléphone:%20%0DCommentaires:
 
but this has lost some of the french special characters.
 
Many thanks if you can help
 
cheers
warren
 

UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
Mailto links are URIs, so you need to escape all non-US-ASCII characters as defined in RFC 2396. Although web browsers will automatically transpose accented characters for their escape sequence equivalents, Acrobat (or more importantly your email client) won't.
plastik
Registered: Nov 2 2010
Posts: 2
Hi Many thanks for your response, sorry I'b being a bit dim, I don't quite understand
UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
In your first post you can see some of the characters are escaped - turned into % symbols followed by a number. Spaces become "%20", etc.

You have to do the same to any accented characters, so é will be "%E9".

Use something like http://www.albionresearch.com/misc/urlencode.php to do it quickly.