Skip to content

HTML:Unicode 编码的用途 #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
smileyby opened this issue May 25, 2021 · 0 comments
Open

HTML:Unicode 编码的用途 #77

smileyby opened this issue May 25, 2021 · 0 comments
Labels
HTML 🌴 HTML相关

Comments

@smileyby
Copy link
Owner

Unicode
Unicode 是一种字符集标准,用于对来自世界上不同的语言、文字系统和符号进行编码和字符定义。通过给没个字符分配一个编号,程序员可以创建字符编码,让计算机在同一个文件或程序中出处、处理和传输任何语言组合。
在Unicode 定义之前,在同一数据中混合使用不同语言是很困难的,而且很容易出错。例如一个字符集存储的是日文字符,而另一个字符集存储的是阿拉伯字母。如果没有明确数据的哪些部分属于字符集,其他程序和计算机就会错误地显示文本,或者在处理过程中损坏文本。
网络上最常见的 Unicode字符编码是UTF-8,。还有一些其他编码,比如UTF-16或过时的UCS-2,但推荐使用UTF-8

@smileyby smileyby added the HTML 🌴 HTML相关 label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HTML 🌴 HTML相关
Projects
None yet
Development

No branches or pull requests

1 participant