What is the relationship between javascript-unicode and UTF-8, ISO8859-1, etc?

Source: Internet
Author: User
First, what is the relationship between the two? What is the relationship between encoding and implementation? I don't understand these concepts. First, what is the relationship between these two concepts? What is the relationship between encoding and implementation? I have not understood these concepts yet =

Reply content:

First, what is the relationship between the two? What is the relationship between encoding and implementation? I have not understood these concepts yet =

If someone asks this question, I can only paste the link.
Https://segmentfault.com/q/1010000004240543/a-1020000004241029

Http://www.ruanyifeng.com/blog/2007/10/ascii_unicode_and_utf-8.html

Thank you, Ruan Yifeng's blog http://www.ruanyifeng.com/blog/2007/10/ascii_unicode_and_utf-8.html.

To sum up, the difference is that Unicode is just a symbolic set, which only specifies the binary code of the symbol, but does not specify how the binary code should be stored. UTF-8 is the storage method name of character sets. One is a symbolic set and the other is a storage method. this is the difference.

ANSI and unicode are two different character standard systems.

ISO8859-1 and GBK are derived from ANSI, this type of encoding is for a certain text and the establishment of the standard, generally only compatible with ASCII.

UTF-8 and UTF-16 are unicode-standard encodings designed to contain all the language texts in the world to display text without garbled characters on computers in different language environments, this type of encoding occupies a relatively large space because it contains many characters.

In short, we often come into contact with the UTF-8, the essence is the same, is a kind of unicode packaging, so the conversion between encoding, need to first convert to unicode and then convert.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.