+ 6
Why we use UTF-8 and what is benefit???
5 Réponses
+ 22
character_setSpecifies the character encoding for the HTML document.
Common values:
UTF-8 - Character encoding for UnicodeISO-8859-1 - Character encoding for the Latin alphabet
In theory, any character encoding can be used, but no browser understands all of them. The more widely a character encoding is used, the better the chance that a browser will understand it.
+ 4
Initially, programmers from different countries encoded the text, not thinking that in the world there are still other languages with their own symbols. When the digital world was united by the Internet, it became necessary to display letters and pages so that they could be read or written on any computer in the world. So there were code pages or encodings. As meta-information, they were attached to each text, telling the browser or mail client how to decrypt bytes into printed characters. It is not surprising that the encoding was often forgotten to indicate or mistaken with it. The programs had to learn to define it automatically, which was not always possible. It became quite obvious that the world needed digital Esperanto. Unicode became it.
The most promising version of Unicode is UTF-8. It is backward compatible with an ascii encoding, it does not break if an incorrect character is found in the string, and it has a dynamic character code size from one to six bytes.
+ 3
Utf8 is for coding chars of foreing languages, see: https://www.sololearn.com/discuss/336951/?ref=app
+ 1
can u be more clear I am not getting u??it's new for me
- 1
We use utf-8 for character encoding ,it will send data on network by making group of 8 characters.