<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>路途志 &#187; UFT8</title>
	<atom:link href="http://www.lutuzhi.com/tag/uft8/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lutuzhi.com</link>
	<description>一路走来，路途志</description>
	<lastBuildDate>Mon, 08 Aug 2011 16:04:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>wordpress出现乱码的一个解决方案</title>
		<link>http://www.lutuzhi.com/opensource/140.html</link>
		<comments>http://www.lutuzhi.com/opensource/140.html#comments</comments>
		<pubDate>Fri, 20 Mar 2009 14:15:31 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[聚焦开源]]></category>
		<category><![CDATA[ANSI]]></category>
		<category><![CDATA[UFT8]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-config.php]]></category>
		<category><![CDATA[乱码]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/?p=140</guid>
		<description><![CDATA[1.试图进入wordpres后台，系统报错： Warning: Cannot modify header information &#8211; headers already sent by (output started at D:\wamp\www\wp\wp-config.php:1) in D:\wamp\www\wp\wp-includes\pluggable.php on line 850 问题分析：提示信息没有明确指示出了什么问题，但是它提示了问题的大概是在wp-config.php这个文件里。 在出此问题之前，我的确对wp-config.php文件做了一点更改，我把一个wordpres链接的数据库名字改了一下，不过这个更改断不是此错误的根源。 通过zend studio单步调试发现，在出错页面的Html源代码里第一个字符是乱码。至此事情基本有了眉目：肯定是编码问题引起的这个错误。 在编辑word_config.php文件时，我用的是notepad。notepad默认情况下会把文件以ANSI格式保存。而wordpres默认用的是UTF8的编码，以ANSI编码格式保存的文件，在转化成HTML时首字符变成了乱码，所以会报错。 我们在编辑wordpres文件时输入了中文，保存时一定还要注意选择正确的编码。在我的机器上是UTF8编码，在你那里也可能是ANSI。总之出现乱码，先看看是不是编码格式引起的是个很好的习惯。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/opensource/140.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

