PDA

View Full Version : Strange chinese support about Quercus4.0.1


xiaobinggg
09-28-2009, 07:39 AM
I'm trying to run php on tomcat use Quercus4.0.1.

when I tried to read some chinese content from mysql,my browser show some trash.
both my php page and mysql database were set to utf-8.


besides,when I use Quercus3.1.6 on tomcat ,I found another problem:
when I tried to connect mysql database,I fonud I can only connect myself's database.
$con = mysql_connect("lcoalhost","root","123456") will success.
$con = mysql_connect("192.168.2.56","root","123") can't success.
the 192.168.2.56 's uername and password are correct.
anyone can help me?