<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "[v2.1.6] Windows上資料庫用MySQL，顯示文章時中文字變成問號解法"]]></title>
		<link>https://forum.andowson.com/posts/list/7.page</link>
		<description><![CDATA[Latest messages posted in the topic "[v2.1.6] Windows上資料庫用MySQL，顯示文章時中文字變成問號解法"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>[v2.1.6] Windows上資料庫用MySQL，顯示文章時中文字變成問號解法</title>
				<description><![CDATA[ :!: 資料庫編碼選擇UTF-8 
<br>
<br>
開新資料庫時（假設資料庫名字和使用者都叫jforum） 
<br>
[code=sql] 
<br>
CREATE DATABASE jforum DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; 
<br>
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX,ALTER ON jforum.* 
<br>
TO jforum@localhost IDENTIFIED BY 'yourpassword'; [/code] 
<br>
進行網頁式安裝=&gt;產生\WEB-INF\config\jforum-custom.conf 
<br>
<br>
安裝完成後，編輯\WEB-INF\config\jforum-custom.conf 
<br>
找到下面這兩行 
<br>
[code] 
<br>
mysql.encoding= 
<br>
mysql.unicode=[/code] 
<br>
改成 
<br>
[code] 
<br>
mysql.encoding=&amp;characterEncoding\=utf8 
<br>
mysql.unicode=&amp;useUnicode\=true[/code] 
<br>
重新啟動Tomcat或JForum即可]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/3/3.page</guid>
				<link>https://forum.andowson.com/posts/preList/3/3.page</link>
				<pubDate><![CDATA[Wed, 3 Jan 2007 14:57:06]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>