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! While you're at it, check out some resources Treehouse students have shared here.
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 trialEmil 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 :-)