编码和字符集有什么区别? [英] What's the difference between encoding and charset?

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

问题描述

我对文本编码和字符集感到困惑.由于许多原因,我必须在我即将开展的工作中学习非 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.

我在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. charset 是您可以使用的字符集
  2. 编码是将这些字符存储到内存中的方式

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

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