Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Converting HTML entities back to symbols in plain text message

I've put together the mail form, but when I receive the message it converts symbols to the HTML entity (e.g. apostrophe shows as &039;).

I was going to run the message body through html_entity_decode() but I'm told this is the opposite of htmlspecialchars() and I was curious if this would negate FILTER_SANITIZE_SPECIAL_CHARS?