ASCII兼容和不兼容字符编码 [英] ASCII compatibles and not compatibles characters encoding

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

问题描述

什么是与ASCII不兼容的字符编码示例?为什么不呢?

What is an example of a character encoding which is not compatible with ASCII and why isn't it?

此外,还有哪些其他与ASCII具有向上兼容性的编码(除了UTF和ISO8859,我已经知道),以及出于什么原因?

Also, what are other encoding which have upward compatibility with ASCII (except UTF and ISO8859, which I already know) and for what reason?

推荐答案

有些基于EBCDIC的编码与ASCII不兼容.例如,我最近遇到了一封使用 CP1026 编码的电子邮件,又名

There are EBCDIC-based encodings that are not compatible with ASCII. For example, I recently encountered an email that was encoded using CP1026, aka EBCDIC 1026. If you look at its character table, letters and numbers are encoded at very different offsets than in ASCII. This was throwing off my email parser particularly because LF is encoded as 0x25 instead of as 0x0A in ASCII.

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

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