encoding和charset有什么区别? [英] What's the difference between encoding and charset?

查看:508
本文介绍了encoding和charset有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对文本编码和字符集感到困惑。由于许多原因,我必须
在我即将到来的工作中学习非Unicode,非UTF8的东西。

I am confused about the text encoding and charset. For many reasons, I have to learn non-Unicode, non-UTF8 stuff in my upcoming work.

我在电子邮件标题中找到charset如ISO-2022-JP,但在文本编辑器中没有
这样的编码。 (我环顾不同的文本编辑器。)

I find the word "charset" in email headers as in "ISO-2022-JP", but there's no such a encoding in text editors. (I looked around the different text editors.)

文本编码和字符集之间有什么区别?

What's the difference between text encoding and charset? I'd appreciate it if you could show me some use case examples.

推荐答案

基本上:


  1. 字符集是您可以使用的字符集

  2. encoding是这些字符存储到内存中的方式

  1. charset is the set of characters you can use
  2. encoding is the way these characters are stored into memory

这篇关于encoding和charset有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆