Hi. Any one knows how to configure MYSQL4.0.4 to accept (chinese or arabic *the diffecult characters*). I have read MYSQL doc but I don't find how to perform this task?
posted 13 years ago
you can use java.util.Properties; Properties pr=new Properties(); pr.put("characterEncoding","big5");//big5 is chinese taiwan pr.put("useUnicode","true"); and set it in the parameter of connection; String url="jdbc:mysql://127.0.0.1:3306/test"; DriverManager.getConnection(url,pr);
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads