Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Emil Wallgren
11,737 PointsSome letters default
Hi!
My name is Emil Wallgren and I'm currently working on a web-site for a client. I've made a contact-form in php and it works and all. But since we're Swedish we use the letters å ä and ö. These letters get's transformed into weird boxes and other stuff when he get's the mail to his Gmail-address. All the other letters are fine.
What can I do to fix this?
Regards!
/Emil
1 Answer

Steve McKinney
29,274 PointsThe utf8_encode function may be what you're looking for.
Links that could help: http://stackoverflow.com/questions/19708097/php-mail-special-characters-utf8 http://php.net/manual/en/function.utf8-encode.php
Emil Wallgren
11,737 PointsEmil Wallgren
11,737 PointsI'll definetly check this out :-)