Table of Contents
Reply content:
Home Backend Development PHP Tutorial What is the relationship between unicode and UTF-8, ISO8859-1, etc.?

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

Aug 04, 2016 am 09:21 AM
html java javascript php python

First of all, what is the relationship between these two? Also, what is the relationship between coding and implementation? I don’t understand these concepts = =

Reply content:

First of all, what is the relationship between these two? Also, what is the relationship between coding and implementation? I don’t understand these concepts = =

Someone asked this question again, so I had to post 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 for your blog post http://www.ruanyifeng.com/blog/2007/10/ascii_unicode_and_utf-8.html

To summarize, the difference is probably that Unicode is just a symbol set. It only specifies the binary code of the symbol, but does not specify how the binary code should be stored. UTF-8, etc. are the names of the storage methods of character sets. One is the symbol set and the other is the storage method. This is the difference.

ANSI and unicode are two different standard systems for representing characters.

ISO8859-1 and GBK are all derived from ANSI. This type of encoding is a standard established for a certain type of text and is generally only compatible with ASCII.

UTF-8, UTF-16 These are unicode standard encodings, designed to include all languages ​​​​and characters in the world, so that the text can be displayed normally on computers in different language environments without garbled characters. This type of encoding contains There are a lot of characters, so the space occupied will be relatively large.

In short, the UTF-8 we often come into contact with is essentially the same, which is a packaging of unicode. Therefore, the conversion between encodings needs to be converted to unicode first and then converted.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

How to download deepseek Xiaomi How to download deepseek Xiaomi Feb 19, 2025 pm 05:27 PM

How to download deepseek Xiaomi

How do you ask him deepseek How do you ask him deepseek Feb 19, 2025 pm 04:42 PM

How do you ask him deepseek

How to search deepseek How to search deepseek Feb 19, 2025 pm 05:18 PM

How to search deepseek

How To Set Up Visual Studio Code (VS Code) for PHP Development How To Set Up Visual Studio Code (VS Code) for PHP Development Dec 20, 2024 am 11:31 AM

How To Set Up Visual Studio Code (VS Code) for PHP Development

How do you parse and process HTML/XML in PHP? How do you parse and process HTML/XML in PHP? Feb 07, 2025 am 11:57 AM

How do you parse and process HTML/XML in PHP?

How to program deepseek How to program deepseek Feb 19, 2025 pm 05:36 PM

How to program deepseek

Break or return from Java 8 stream forEach? Break or return from Java 8 stream forEach? Feb 07, 2025 pm 12:09 PM

Break or return from Java 8 stream forEach?

See all articles