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 trialHélène Galiana de la Fuente
882 PointsWhat should I do to make French special caracters display properly?
Hi everyone!
I am new on Treehouse. I am here to learn about the very basics of front-end development. I just finished the introduction and basics of HTML parts, but I am quite bothered by the way French special caracters are showing when I write on it.
All those caracters are displaying bizarrely:
- "é, à, ù, ë, ç, è," etc.
Does someone knows how to fix this?
Thank you very much in advance for the help (and sorry for the mistakes I might be doing while writing in English).
Hélène
2 Answers
victor cooper
6,436 Points<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Website title</title>
</head>
<body>
<!-- your amazing website here -->
</body>
</html>
This is a very basic html5 template you can use and it should work with french, the meta tag with the charset of utf-8 works with most languages, if you still have problems you can use the french html characters https://websitebuilders.com/tools/html-codes/french/
Hélène Galiana de la Fuente
882 PointsHi Victor!
It works, thank you very much!
Have a really nice day :)