我上传了一个简单的htm页面上去这个空间显示很正常,没有乱码。
但是上传了其他的就会乱码。我对比了一下,贴出代码给大家:index.htm:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd ">
<html>
<head>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/plain; charset=gb2312">
<title></title>
</head><body>
<form name=keyForm method=post action="test.jsp">
<select name=model>
<option value=model1>精确搜索</option>
<option value=model2>不按顺序关键字搜索</option>
<option value=model3>包含其中关键字搜索</option>
</select>
please input your keywords:
<input type=text name=keyword>
<input type=submit value=sub>
</form>
</body>
</html>
地址:http://link.kilu.net/index.htm但是上传了一个图片系统却完全乱码,连安装都不行,贴出代码:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<title>Æ벩ͼƬϵͳ°²×°³Ìʽ</title>
<style type="text/css">
地址:http://meinvbt.com.nu/install.php而在本地调试的话,是这样子的:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<title>齐博图片系统安装程式</title>
在localhost一切都正常,但是空间却乱码,以前也发过这个帖子,后来不了了之,希望各位高人帮我看看,怎么解决
谢谢。
但是上传了其他的就会乱码。我对比了一下,贴出代码给大家:index.htm:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd ">
<html>
<head>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/plain; charset=gb2312">
<title></title>
</head><body>
<form name=keyForm method=post action="test.jsp">
<select name=model>
<option value=model1>精确搜索</option>
<option value=model2>不按顺序关键字搜索</option>
<option value=model3>包含其中关键字搜索</option>
</select>
please input your keywords:
<input type=text name=keyword>
<input type=submit value=sub>
</form>
</body>
</html>
地址:http://link.kilu.net/index.htm但是上传了一个图片系统却完全乱码,连安装都不行,贴出代码:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<title>Æ벩ͼƬϵͳ°²×°³Ìʽ</title>
<style type="text/css">
地址:http://meinvbt.com.nu/install.php而在本地调试的话,是这样子的:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<title>齐博图片系统安装程式</title>
在localhost一切都正常,但是空间却乱码,以前也发过这个帖子,后来不了了之,希望各位高人帮我看看,怎么解决
谢谢。
解决方案 »
- 想辞职,怕不发工资,留后门有后果吗
- 那个ucenter到底和DZ论坛有什么关系
- DISCUZ做2次开发从哪里开始学啊?
- 求教高手iis下的伪静态配置转成Apache的伪静态配置?
- 40分求qqxun中的查看qq好友最近访问过的空间是什么原理
- php 解析dom后 汉字都编程类似ascii的东西了
- 二维数组排序大家怎么做
- 为什么ecshop中的后台管理中心->文章分类没有内容显示?
- 在php中如何将txt文件中的数据与数据库中表里的数据进行对账,代码借鉴
- 求助~关于用百度音乐接口实现微信点歌的问题
- 从一个ip地址中,你可以得到什么
- 好不容易通过新浪微博应用OAuth授权了,进去后发现那个头像url怎么使用啊?
你的图片系统看看有没有gb2312或者utf8的版本
不是单单改页面上的GB2312 包括文件本身的编码也要改的,建议你下一个UTF-8的版本上传上传应该就OK了