码迷,mamicode.com
首页 > 其他好文 > 详细

charset

时间:2016-09-22 11:24:45      阅读:122      评论:0      收藏:0      [点我收藏+]

标签:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

utf-8:在中文中占有是3个字节;使用在简体中文;推荐使用;

gbk:在中文中占有是2个字节;使用在于繁体中午;

一般gb2312不是很提倡,这个主要因人而异;

主要是取决于公司使用得服务器的关系;

 

charset

标签:

原文地址:http://www.cnblogs.com/hanxizfz/p/5895337.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!