Is it necessary to add the utf-8 to every file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Is it necessary to add the utf-8 to every file

I have noticed that some people don't write it so I was wondering if its a most and what would be the consequences if I don't add it?

13th Mar 2018, 1:21 AM
Webnell
Webnell - avatar
3 Answers
+ 14
you can find your answer in yellow box at the bottom https://www.sololearn.com/learn/HTML/2211/
13th Mar 2018, 1:58 AM
Vukan
Vukan - avatar
13th Mar 2018, 1:47 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 4
No, you dont have to, but its good thing you declare encryption method for browsers also you will have nicer script :)
13th Mar 2018, 1:50 AM
neo
neo - avatar