在所有字符编码中,ASCII字符是否始终以相同的方式编码? [英] Are ASCII characters always encoded the same way in all character encodings?

查看:184
本文介绍了在所有字符编码中,ASCII字符是否始终以相同的方式编码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ASCII中,被编码为单字节字符0x3C,我想知道的是有一个字符集,编码不同?我试过UTF-8,它是一样的。我试过GB2312,它是相同的...

In ASCII, the character < is encoded as a single-byte character 0x3C, what I'd like to know is that is there a character set where < is encoded differently? I tried UTF-8, it's the same. I tried GB2312 and it's the same...

另一个问题,都是所有字符集相同的ASCII字符?

Another question, are all ASCII characters the same in all character sets?

推荐答案

ASCII的前127个字符在所有ASCII派生字符集中是相同的。它们在非ASCII字符集(如EBCDIC)中不同。

The first 127 characters of ASCII are the same in all ASCII-derived character sets. They are not the same in non-ASCII-character sets (such as EBCDIC).

取决于代码页和/或编码,代码> 127的字符不同。

Characters with codes > 127 are different depending on the codepage and/or the encoding.

这篇关于在所有字符编码中,ASCII字符是否始终以相同的方式编码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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