05月 15th, 2006

国外免费PHP空间乱码的终极解决

Category: 技术资源代码, Author: hosend, Popularity: 11%

首先按照你使用的程序提供商提供的方法去乱码,如果无法奏效,那么:

可以通过修改.htaccess文件来实现,只要加入这句语言,改为你希望的编码。

AddDefaultCharset off
AddType text/html;charset=gb2312 html

或者
AddDefaultCharset off
AddType text/html;charset=utf-8 html

至于修改.htaccess,你先得把它属性设为0777,然后再改,直接用本地文件覆盖的话,权限不够是覆盖不了的,推荐使用boom工具。

Popularity: 11%


评论数量(0) | Add Comments
本文网址:http://blog.insome.com/2006/05/15/350.html

随机日志

There are No comments.

» You can leave a response or Trackback .

leave a reply

You must be logged in to post a comment.