Login

mvnForum

mvnForum Homepage Welcome Guest
  Search  
  Index  | Recent Threads  | Unanswered Threads  | List Polls  | Public Albums  | Who's Online  | Help


Quick Go »


No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
Post new Thread
Author
Previous Thread This topic has been viewed 2268 times and has 4 replies Next Thread
Male nickolas
Stranger




Joined: Apr 17, 2008
Post Count: 7
Status: Offline
Reply to this Post  Reply with Quote 
mvnforum 1.1ga 中文贴是乱码。

我的 mvnforum 1.1ga 新增加 category 和帖子, 凡是中文的,都是乱码。有谁知道是什么原因吗?

在网上搜索了一下,没有人有这问题。我的MYSQL 已经是 UTF8 了。 TOMCAT connector 中的 URIEncoding="utf-8" 也设置了。

这很多人用中文的论坛,难道没有人遇到类似的问题吗?

谢谢!
[May 7, 2008 2:51:46 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male jasonblue
Stranger




Joined: May 12, 2008
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: mvnforum 1.1ga 中文贴是乱码。

我也遇到了这个问题,将mvncore.xml文件中连接数据库的地方UTF8编码去掉就好了。例:<database_url>jdbc:mysql://localhost/mvnforum</database_url>
[May 12, 2008 6:07:31 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male olaola
Stranger




Joined: Feb 14, 2005
Post Count: 7
Status: Offline
Reply to this Post  Reply with Quote 
Re: mvnforum 1.1ga 中文贴是乱码。

我什么都没动,就直接可以支持中文,只要保证数据库支持utf-8,注意数据库已开始建立就要使用utf-8,如果后来用alter语句改变的是没用的。
TOMCAT connector里的设置可以解决中文搜索问题。
[May 19, 2008 3:32:51 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Female meizi
Stranger




Joined: Oct 10, 2008
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
smile Re: mvnforum 1.1ga 中文贴是乱码。

对哦,你说的办法很有用哦!我用了以的乱码就解决了哦!为什么会这样呢?其中原理是什么呢?呵呵!还是非常感谢你哦!嘿嘿!
[Oct 13, 2008 12:17:46 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Female fulltears
Stranger




Joined: Oct 17, 2008
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
rose Re: mvnforum 1.1ga 中文贴是乱码。

超级感谢,我折腾了半天都不知道问题出在哪里。
[Oct 23, 2008 4:11:34 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Show Printable Version of Thread  Post new Thread