Made this button that will share a post's excerpt and title in Wordpress via the visitors email client:
<a href="mailto:?subject=<?php echo rawurlencode()(get_the_title('','', false)) ?>&body=<?php echo rawurlencode()(get_the_excerpt()) ?><?php the_permalink() ?>" title="Send a link to this post via email" rel="nofollow" target="_blank">Share this post via email</a>
It's working fine for 99%. The only problem is that it show's the ascii codes from the post's body and title.
So for example, i get in the email body to see ' …
' instead of [...]
How can I solve this minor problem?