ASCII兼容和不兼容字符编码 [英] ASCII compatibles and not compatibles characters encoding
问题描述
什么是与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屋!