<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>綠光能部落客-網路行銷,網頁設計,微軟,軟硬體安裝,備份, SEO,SEM - PHP&amp;MySQL</title>
    <link>http://www.sysoss.com/blog/</link>
    <description>電腦資訊 技術資訊 技術心得 ...</description>
    <dc:language>tn</dc:language>
    <generator>Serendipity 1.4 - http://www.s9y.org/</generator>
    <pubDate>Thu, 29 Oct 2009 10:45:39 GMT</pubDate>

    <image>
        <url>http://www.sysoss.com/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: 綠光能部落客-網路行銷,網頁設計,微軟,軟硬體安裝,備份, SEO,SEM - PHP&amp;MySQL - 電腦資訊 技術資訊 技術心得 ...</title>
        <link>http://www.sysoss.com/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>phpMyAdmin 中文亂碼處理方法</title>
    <link>http://www.sysoss.com/blog/index.php?/archives/18-phpMyAdmin.html</link>
            <category>PHP&amp;MySQL</category>
    
    <comments>http://www.sysoss.com/blog/index.php?/archives/18-phpMyAdmin.html#comments</comments>
    <wfw:comment>http://www.sysoss.com/blog/wfwcomment.php?cid=18</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.sysoss.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=18</wfw:commentRss>
    

    <author>nospam@example.com (Minghow)</author>
    <content:encoded>
    到達 phpMyAdmin/libraries/select_lang.lib.php&lt;br /&gt;
&lt;br /&gt;
找到以下的文字,utf8 用 &#039;utf-8&#039; =&gt;&#039;latin1&#039; 取代即可&lt;br /&gt;
&lt;br /&gt;
// MySQL charsets map&lt;br /&gt;
$mysql_charset_map = array(&lt;br /&gt;
    &#039;big5&#039;         =&gt; &#039;big5&#039;,&lt;br /&gt;
    &#039;cp-866&#039;       =&gt; &#039;cp866&#039;,&lt;br /&gt;
    &#039;euc-jp&#039;       =&gt; &#039;ujis&#039;,&lt;br /&gt;
    &#039;euc-kr&#039;       =&gt; &#039;euckr&#039;,&lt;br /&gt;
    &#039;gb2312&#039;       =&gt; &#039;gb2312&#039;,&lt;br /&gt;
    &#039;gbk&#039;          =&gt; &#039;gbk&#039;,&lt;br /&gt;
    &#039;iso-8859-1&#039;   =&gt; &#039;latin1&#039;,&lt;br /&gt;
    &#039;iso-8859-2&#039;   =&gt; &#039;latin2&#039;,&lt;br /&gt;
    &#039;iso-8859-7&#039;   =&gt; &#039;greek&#039;,&lt;br /&gt;
    &#039;iso-8859-8&#039;   =&gt; &#039;hebrew&#039;,&lt;br /&gt;
    &#039;iso-8859-8-i&#039; =&gt; &#039;hebrew&#039;,&lt;br /&gt;
    &#039;iso-8859-9&#039;   =&gt; &#039;latin5&#039;,&lt;br /&gt;
    &#039;iso-8859-13&#039;  =&gt; &#039;latin7&#039;,&lt;br /&gt;
    &#039;iso-8859-15&#039;  =&gt; &#039;latin1&#039;,&lt;br /&gt;
    &#039;koi8-r&#039;       =&gt; &#039;koi8r&#039;,&lt;br /&gt;
    &#039;shift_jis&#039;    =&gt; &#039;sjis&#039;,&lt;br /&gt;
    &#039;tis-620&#039;      =&gt; &#039;tis620&#039;,&lt;br /&gt;
//    &#039;utf-8&#039;        =&gt; &#039;utf8&#039;,&lt;br /&gt;
    &#039;utf-8&#039; =&gt;&#039;latin1&#039;,&lt;br /&gt;
    &#039;windows-1250&#039; =&gt; &#039;cp1250&#039;,&lt;br /&gt;
    &#039;windows-1251&#039; =&gt; &#039;cp1251&#039;,&lt;br /&gt;
    &#039;windows-1252&#039; =&gt; &#039;latin1&#039;,&lt;br /&gt;
    &#039;windows-1256&#039; =&gt; &#039;cp1256&#039;,&lt;br /&gt;
    &#039;windows-1257&#039; =&gt; &#039;cp1257&#039;,&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
如果是開發 PHP 程式用&lt;br /&gt;
&lt;br /&gt;
&lt;?php&lt;br /&gt;
	$DB_HOST	= &quot;localhost&quot;;	  //資料庫主機位置&lt;br /&gt;
	$DB_LOGIN	= &quot;root&quot;;	  //資料庫的使用帳號&lt;br /&gt;
	$DB_PASSWORD	= &quot;xxxxx&quot;;	  //資料庫的使用密碼&lt;br /&gt;
	$DB_NAME	= &quot;xxxxxx&quot;;         //資料庫名稱&lt;br /&gt;
	&lt;br /&gt;
 &lt;br /&gt;
	$conn = mysql_connect($DB_HOST, $DB_LOGIN, $DB_PASSWORD);&lt;br /&gt;
	mysql_select_db($DB_NAME);	&lt;br /&gt;
	 mysql_query(&quot;SET NAMES &#039;utf8&#039;&quot;);&lt;br /&gt;
?&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 29 Oct 2009 18:38:35 +0800</pubDate>
    <guid isPermaLink="false">http://www.sysoss.com/blog/index.php?/archives/18-guid.html</guid>
    
</item>

</channel>
</rss>