读书人

html中文显示乱码,该怎么处理

发布时间: 2012-02-06 15:52:45 作者: rapoo

html中文显示乱码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Beautiful Background Image Navigation with jQuery</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="description" content="Beautiful Background Image Navigation with jQuery" />
<meta name="keywords" content="jquery, background image, animate, menu, navigation, css3, cross-browser compatible"/>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen"/>
</head>
<body>
</body>
</html>
把<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>改成<meta http-equiv= "Content-Type " content= "text/html; charset=GB2312 "> 也不行。

[解决办法]
楼主要是还乱码,那就是文件格式问题了。

用编辑器改下文件编码格式,比如用Dreamweaver改下文件格式
[解决办法]
显示的是什么样子的呢
[解决办法]
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

读书人网 >CSS

热点推荐