<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>《ZF1.8 DB字符集设定》的评论</title>
	<atom:link href="http://www.jefflei.com/post/1639.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jefflei.com/post/1639.html</link>
	<description></description>
	<lastBuildDate>Sat, 17 Dec 2011 09:45:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>作者：汤博客杂志站</title>
		<link>http://www.jefflei.com/post/1639.html/comment-page-1#comment-40</link>
		<dc:creator>汤博客杂志站</dc:creator>
		<pubDate>Wed, 26 Aug 2009 09:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.jefflei.com/?p=1639#comment-40</guid>
		<description>博客文章不错，读了。。今天下午到访。望回访。</description>
		<content:encoded><![CDATA[<p>博客文章不错，读了。。今天下午到访。望回访。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：julian</title>
		<link>http://www.jefflei.com/post/1639.html/comment-page-1#comment-37</link>
		<dc:creator>julian</dc:creator>
		<pubDate>Wed, 19 Aug 2009 15:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.jefflei.com/?p=1639#comment-37</guid>
		<description>可以这样撒
application.ini
resources.db.adapter = PDO_MYSQL
resources.db.params.host = localhost
resources.db.params.username = root
resources.db.params.password = 
resources.db.params.dbname = 
resources.db.params.charset = utf8
resources.db.params.profiler = true
function _initDb(){
$resources = $this-&gt;getPluginResource(&#039;db&#039;);
        $db = $resources-&gt;getDbAdapter();
        Zend_Db_Table::setDefaultAdapter($db);
	Zend_Registry::set(&#039;db&#039;,$db);
}</description>
		<content:encoded><![CDATA[<p>可以这样撒<br />
application.ini<br />
resources.db.adapter = PDO_MYSQL<br />
resources.db.params.host = localhost<br />
resources.db.params.username = root<br />
resources.db.params.password =<br />
resources.db.params.dbname =<br />
resources.db.params.charset = utf8<br />
resources.db.params.profiler = true<br />
function _initDb(){<br />
$resources = $this-&gt;getPluginResource(&#8216;db&#8217;);<br />
        $db = $resources-&gt;getDbAdapter();<br />
        Zend_Db_Table::setDefaultAdapter($db);<br />
	Zend_Registry::set(&#8216;db&#8217;,$db);<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

