PDA

View Full Version : Accented characters in mailto link


Kakao
05-28-2008, 02:07 AM
I need to have this subject in a mailto link: "Dúvidas, críticas e sugestões". That is portuguese. The page is utf-8 encoded. So I urlencoded the subject like this:

<a href="mailto:acertain@address.com?subject=D%C3%BAvidas%2C%20cr%C3%ADticas%20ou%20sugest%C3%B5es"

When i place the mouse pointer over the link the subject shows correctly in the status bar. When i click it in a Linux utf-8 machine the subject appears correctly in the subject field of the Evolution client.
But when i click the link on Windows the subject appears like this on the Outlook Express client:

Dúvidas, crÃ*ticas ou sugestões

Using htmlentities in the subject like this:
"D&uacute;vidas, cr&iacute;ticas ou sugest&otilde;es"
produces a slightly different result:

Dúvidas, crÃ*ticas ou sugestões

Is there a solution for this problem?