Problem of Query Chinese words in MySQL using Java
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ken_Shamrock
Posted On:   Sunday, March 30, 2003 09:33 PM

In my servlet, if I build in this sql inside ,
SELECT * FROM table WHERE location='Chinese word here'
It outputs nothing!
if i change the 'Chinese word here' to English,it have result!

But if I query in mysql, i can

If the 'Chinese word here' is get in a form, (ie 'Chinese word here' is got by req.getParameter but not built in), it can display result, why???

Re: Problem of Query Chinese words in MySQL using Java

Posted By:   kourla_reddy  
Posted On:   Thursday, April 17, 2003 09:53 AM

What is the encoding u are using while submiting the form to servlet. What is the char set of the data base u are using. If u give the response for the above questions I will definetly help u out in solving the problem.
About | Sitemap | Contact