假设下面的这一段html中meta的两行配置。
这里面配置了charset和Content-Language。
Content-Language:表示当前页面的语言。
charset:表示编码字符集
任何一种语言可能都会对应有几种编码字符集。比如中文的编码字符集就有中国国家标准总局编制的GB2312,GB18030,国际标准化组织(ISO)和多语言软件制造商组成的统一码联盟编制的UTF-32,UTF-16,UTF-8。为什么有那么多的编码字符集,例如,就国标来说,GB3212覆盖了6763个汉字,很过生僻字、新字、古汉字、人名是没有覆盖到,GB18030覆盖了70244个,覆盖范围更大,UTF-32,UTF-16,UTF-8都是Unicode的编码方案,Unicode相当于国际标准的字符集。
因此,charset和Content-Language的含义就是,当前页面的语言是中文的,请浏览器使用UTF-8编码字符集进行解码显示。
Solutions to Chinese garbled characters
Java performs forced type conversion
How to open nrg file
How to center div in css
How to open torrent files
WeChat payment deduction sequence
What is the difference between css framework and component library
Introduction to the relationship between php and front-end