I want a simple mailto tag that 开发者_StackOverflowsupports special (German) characters in email body:
Ä ä Ö ö Ü ü ß
I wrote my code in the following fashion:
<html>
<head>
<title>TEST PAGE</title>
</head>
<body>
<h1>Test</h1>
<a href="mailto:test@test.com?subject=test&body=START%20%C3%84%20%C3%A4%20%C3%96%20%C3%B6%20%C3%9C%20%C3%BC%20%C3%9F%20END">Email link</a>
</body>
</html>
On my machine Outlook generated an email with body as:
START Ä ä Ö ö Ü ü ß END
At my German client's end the email body generated is:
START Ä ä Ö ö Ü ü ß END
Where does the problem lie?
Robert was Right, there is an option called : Enable UTF-8 support for mailto:protocol in Outlook @
Tools > Options > Mail Format > International Options > [x] Enable UTF-8 support for mailto:protocol
I enabled that option and it worked in the client's machine,
Although I wouldn't expect ppl to change their machine's outlook config to support my web app, but it seems that this is the only way possible right now, I am open to more suggestions though
There is no solution.
Try setting up Thunderbird as your default mailto:
handler and open the link. Then set up Outlook and open it again.
Thunderbird will display the body correctly while Outlook goes berserk...
精彩评论