您的位置:首页 > 其它

编码详解

2015-08-11 16:17 274 查看
信息在计算机中是以字节为存储单位的

下图表示一个字节

【】【】【】【】 – 【】【】【】【】

编码,是一种 {符号集合} 和 {计算机中存储形式 } 的一种映射关系,也是一种存储规则。

以下是一种的存储格式,

【0】【1】【1】【0】 – 【1】【0】【1】【0】

经过不同的编码可能会得到不同的符号,

The Java platform stores character values using Unicode conventions. Character stream I/O automatically translates this internal format to and from the local character set. In Western locales, the local character set is usually an 8-bit superset of ASCII.

下面在介绍几个常见的编码

ASCII 码

UTF - 8

UNICODE
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: