Who can help me... For what we use this code? What is the benefit of use it? <meta charset="UTF-8"> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Who can help me... For what we use this code? What is the benefit of use it? <meta charset="UTF-8">

..

14th Feb 2018, 3:07 PM
👩🏻__🇴🇲
👩🏻__🇴🇲 - avatar
4 Answers
+ 1
The characters you are reading on your screen now each have a numerical value. In the ASCII format, for example, the letter 'A' is 65, 'B' is 66, and so on. If you look at a table of characters available in ASCII you will see that it isn't much use for someone who wishes to write something in Mandarin, Arabic, or Japanese. For characters / words from those languages to be displayed we needed another system of encoding them to and from numbers stored in computer memory. So, UTF-8 is just one of the encoding methods that were invented to implement this requirement. Source: https://stackoverflow.com/questions/29869743/what-is-meta-charset-utf-8
16th Feb 2018, 3:36 PM
Sulaiman Said Al-Mazruii
Sulaiman Said Al-Mazruii - avatar
0
So it's important this code or not?
16th Feb 2018, 3:50 PM
👩🏻__🇴🇲
👩🏻__🇴🇲 - avatar
0
Yes, its important, like if you use different languages in your website or want to make your website better, beside that, there are another attributes in the tag <meta> that are so important for your website.
16th Feb 2018, 4:37 PM
Sulaiman Said Al-Mazruii
Sulaiman Said Al-Mazruii - avatar
0
Thank you so much
16th Feb 2018, 4:42 PM
👩🏻__🇴🇲
👩🏻__🇴🇲 - avatar