Re: [JDBC] problem with Chinese

2001-10-19 Thread root
Hi all, I am sorry , I have got the solution. I should write it so:    ŸßŸßŸßŸßŸßŸßClass.forName("org.postgresql.Driver");    ŸßŸßŸßŸßŸßŸßProperties info=new Properties();    ŸßŸßŸßŸßŸßŸßinfo.put("user","postgres");    ŸßŸßŸßŸßŸßŸßinfo.put("password","");    ŸßŸßŸßŸßŸßŸßinfo.put("charSet","

Re: [JDBC] problem with Chinese

2001-10-18 Thread Barry Lind
The problem here could be a number of different things. Let me walk through the ones I can think of. 1) You really should be using a PreparedStatement for this query you are doing, so that the driver can escape any special characters you may have in your bind value. Right now if your t1 value c