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.


Jiři Charvat
Jiři Charvat
4,639 Points

Wrong diacritics on some devices/browser

Hi, why is possible that some mobile device browser display wrong diacritics? I have included fonts from google.com/fonts, I have not forgotten for meta tag charset and even then it is wrong displayed.

Now I am talking about default browser in HTC mobile device. Thats very important thing for me, because it is very common brand.

I will be very grateful for advice how to solve this problem. Thank you.

1 Answer

Jeff Jacobson-Swartfager
Jeff Jacobson-Swartfager
15,417 Points

Often, to render diacritics in html you need to use an html character entity in place of the character itself. For example, instead of sauté the onions, you'd need to use sauté the onions.

Check out this guide from the W3C.

Andrew Lawrence
Andrew Lawrence
Courses Plus Student 3,824 Points

That's very true. It's one of the most commonly overlooked aspects of web text but really all characters have their own character entity, all the way down to commas, periods and en-dashes. Letters just happen to be their own character entity.