Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2007-08-11 17:46:31
Size: 1141
Editor: hf_linux
Comment:
Revision 3 as of 2009-12-25 07:18:31
Size: 1123
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
::-- ["hf_linux"] [[[DateTime(2007-08-11T17:46:31Z)]]]
[[TableOfContents]]
::-- [[hf_linux]] [<<DateTime(2007-08-11T17:46:31Z)>>]
<<TableOfContents>>
Line 9: Line 9:
[[Include(CPUGnav)]] <<Include(CPUGnav)>>
Line 43: Line 43:
[[PageComment2]]

含有章节索引的 *PUG 文章通用模板 ::-- hf_linux [2007-08-11 17:46:31]

CPUG联盟::

CPUG::门户plone

BPUG

SPUG

ZPUG

SpreadPython Python宣传

1. 关于程序语言的编码

本文章论述程序语言设计的编码问题

1.1. 什么是编码

要给编码下一个确切的定义是非常困难的,我们必须要设定一定的上下文才能较好的探讨这个问题

1.1.1. 广义

我们日常的语言,文字,图画,音乐,手势.....等等凡是以一种模式代表特定意义的行为符合都是编码

1.1.2. 狭义

本文主要讨论字符编码 我们可以说编码是存储字符的一种方式 也可以说编码是根据一定的规则把数据从一种形式转换为另外一种形式的的处理过程

1.2. 常见文件编码

1.2.1. 文件编码

字符被存储为单个或多个字节序列的一种特定的方式

1.2.2. ISO8859-1

其它
代码引用

1.2.3. GBK

yyy

1.2.4. UTF-8

UTF-8是一种unicode编码,和ASCII编码兼容.

2. 反馈

hf_linux/2007-08-11 (last edited 2009-12-25 07:18:31 by localhost)