最近公司要建一个BBS,我查看了很多免费的,决定选择JForum,我安装的是JForum214的安装版,数据库是MySQL5.0(采用UTF8字符集),服务器Tomcat5.0
    安装完成后,还是用中文乱码的问题,请问大家有没有遇到过这样的问题,要怎么解决?
    谢谢!!!

解决方案 »

  1.   

    mysql的jdbc处需要指定utf-8,你指定了吗?
      

  2.   

    我也碰到这个问题。同样的IE,执行两个基于同一模板创建的数据库。在查询子报单的JS Header里面,一个就能在IE里面正常执行中文,另一个执行出来的中文就变成了字母串。这个当然就查询不到。不知道是什么原因。
      

  3.   

    请教mxlmwl(飞星):
    mysql的jdbc处需要指定utf-8,怎么指定?
    是在mysql.properties中吗
    我的mysql.properties文件内容 为
    ----------------------
    #Tue Dec 06 10:29:27 CST 2005
    database.connection.password=XXXXX
    dbname=bbs
    database.connection.host=localhost
    mysql.unicode=
    database.connection.pool.min=5
    database.connection.pool.timeout=5000
    database.connection.port=3306
    database.connection.username=root
    dbencoding=utf-8
    database.connection.string=jdbc\:mysql\://${database.connection.host}\:${database.connection.port}/${dbname}?user\=${database.connection.username}&password\=${database.connection.password}&autoReconnect\=true${mysql.unicode}${mysql.encoding}&useNewIO\=false&zeroDateTimeBehavior\=convertToNull&useServerPrepStmts\=false
    database.connection.pool.max=10
    dao.driver=net.jforum.drivers.mysql.DataAccessDriver
    mysql.encoding=
    dbunicode=true
    database.connection.driver=com.mysql.jdbc.Driver
    -------------------------------
      

  4.   

    请问谁有一个设好的应用,发一个给我参考一下好吗,[email protected]