我上传了一个简单的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一切都正常,但是空间却乱码,以前也发过这个帖子,后来不了了之,希望各位高人帮我看看,怎么解决
谢谢。

解决方案 »

  1.   

    难道是空间支持gb2312,但是不支持gbk?
    你的图片系统看看有没有gb2312或者utf8的版本
      

  2.   

    上面的gb2312我试过改成utf-8,也试过改成gbk的了。还是不行
      

  3.   

    我是指ftp工具里的设置,貌似有个编码什么的
      

  4.   


    不是单单改页面上的GB2312 包括文件本身的编码也要改的,建议你下一个UTF-8的版本上传上传应该就OK了