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 trial
Miguel Nunez
3,266 PointsWhat is <meta charset="utf-8">
I know they explain this in the video but i still don't get it not even a Google search help me out they all use similar definitions that contains big words of this can some one explain it more simpler to me i just want to know what is the function of this one
2 Answers
Chris Dziewa
17,781 PointsMeta tells important information to the browser, in this case it is telling the browser that it should treat every character on the page as a UTF-8 encoding. If you don't list this and for some reason search engines guess wrong on the encoding type, information may not be saved correctly in the search engine records. I believe UTF-8 is an international standard. I think this also can affect how browsers interpret your code as well.
Miguel Nunez
3,266 PointsThank you man this is a lot of help I appreciate it
Chris Dziewa
17,781 PointsAnytime Miguel, glad I could help!
Miguel Nunez
3,266 PointsMiguel Nunez
3,266 PointsSo it wont affect me really? just the search engines? so when you mean it can also affect how browsers interpret your code were you referring to the text characters and symbol characters on a website not displaying right ? o wait i just saw a video just now while i was typing this OK now i think i understand now correct me if i'm wrong you use ASCII or Unicode to get different text letters or text symbols to display the right desirable symbols or letters right?
Chris Dziewa
17,781 PointsChris Dziewa
17,781 PointsThis Stack Overflow thread should help. Using Unicode should take care of all ASCII characters. And yes, they are used to tell the browser how to correctly display characters.