常用 HTML 字符集
来源:互联网 发布:怎样复制淘宝图片 编辑:程序博客网 时间:2024/06/10 10:34
常用 HTML 字符集
1.常用 HTML ISO-8859-1 参考手册
参考地址:http://www.w3school.com.cn/tags/html_ref_entities.html
带有实体名称的 ASCII 实体结果描述实体名称实体编号"quotation mark""'apostrophe ''&ersand&&<less-than<<>greater-than>>ISO 8859-1 符号实体结果描述实体名称实体编号 non-breaking space  ¥yen¥¥©copyright©©ªfeminine ordinal indicatorªª«angle quotation mark (left)««®registered trademark®®±plus-or-minus ±±»angle quotation mark (right)»»×multiplication××÷division÷÷注释:实体名称对大小写敏感。
2.常用 HTML ASCII 参考手册
参考地址:http://www.w3school.com.cn/tags/html_ref_ascii.asp
HTML 和 XHTML 用标准的 7 比特 ASCII 代码在网络上传输数据。
7 比特 ASCII 代码可提供 128 个不同的字符值。
7 比特 可显示的 ASCII 代码
结果描述实体编号 space !exclamation mark!"quotation mark"#number sign#$dollar sign$%percent sign%&ersand&'apostrophe'(left parenthesis()right parenthesis)*asterisk*+plus sign+,comma,-hyphen-.period./slash/0digit 001digit 112digit 223digit 334digit 445digit 556digit 667digit 778digit 889digit 99:colon:;semicolon;<less-than<=equals-to=>greater-than>?question mark?@at sign@Auppercase AABuppercase BBCuppercase CCDuppercase DDEuppercase EEFuppercase FFGuppercase GGHuppercase HHIuppercase IIJuppercase JJKuppercase KKLuppercase LLMuppercase MMNuppercase NNOuppercase OOPuppercase PPQuppercase QQRuppercase RRSuppercase SSTuppercase TTUuppercase UUVuppercase VVWuppercase WWXuppercase XXYuppercase YYZuppercase ZZ[left square bracket[\backslash\]right square bracket]^caret^_underscore_`grave accent`alowercase aablowercase bbclowercase ccdlowercase ddelowercase eeflowercase ffglowercase gghlowercase hhilowercase iijlowercase jjklowercase kkllowercase llmlowercase mmnlowercase nnolowercase ooplowercase ppqlowercase qqrlowercase rrslowercase sstlowercase ttulowercase uuvlowercase vvwlowercase wwxlowercase xxylowercase yyzlowercase zz{left curly brace{|vertical bar|}right curly brace}~tilde~3.常用 HTML 字符集
HTML 字符集
如需正确地显示 HTML 页面,浏览器必须知道使用何种字符集。
ISO 字符集
字符集描述使用范围ISO-8859-1Latin alphabet part 1北美、西欧、拉丁美洲、加勒比海、加拿大、非洲ISO-8859-2Latin alphabet part 2东欧ISO-8859-3Latin alphabet part 3SE Europe、世界语、其他杂项ISO-8859-4Latin alphabet part 4斯堪的纳维亚/波罗的海(以及其他没有包括在 ISO-8859-1 中的部分)ISO-8859-5Latin/Cyrillic part 5使用古代斯拉夫语字母表的语言,比如保加利亚语、白俄罗斯文、俄罗斯语、马其顿语ISO-8859-6Latin/Arabic part 6使用阿拉伯字母的语言ISO-8859-7Latin/Greek part 7现代希腊语,以及有希腊语衍生的数学符号ISO-8859-8Latin/Hebrew part 8使用希伯来语的语言ISO-8859-9Latin 5 part 9土耳其语ISO-8859-10Latin 6拉普兰语、日耳曼语、爱斯基摩北欧语ISO-8859-15Latin 9 (aka Latin 0)与 ISO 8859-1 类似,欧元符号和其他一些字符取代了一些较少使用的符号ISO-2022-JPLatin/Japanese part 1日本语ISO-2022-JP-2Latin/Japanese part 2日本语ISO-2022-KRLatin/Korean part 1韩语
Unicode 标准
UTF-8
UTF8 中的字符可以是 1-4 个字节长。UTF-8 可以表示 Unicode 标准中的任意字符。UTF-8 向后兼容 ASCII。UTF-8 是网页和电子邮件的首选编码。
UTF-16
16 比特的 Unicode 转换格式是一种 Unicode 可变字符编码,能够对全部 Unicode 指令表进行编码。
UTF-16 主要被用于操作系统和环境中,比如微软的 Windows 2000/XP/2003/Vista/CE 以及 Java 和 .NET 字节代码环境。