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 trialJiři Charvat
4,639 PointsWrong 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
15,419 PointsOften, 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
Courses Plus Student 3,824 PointsAndrew Lawrence
Courses Plus Student 3,824 PointsThat'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.