Import java.io.unsupportedEncodingexception;
String S1 = (String) Request.getParameter ("txtcondition");
Try {
S1 = new string (S1.GetBytes ("ISO-8859-1"), "GB2312");} catch (unsupporteencodingexcection e1) {e1.printStackTrace ();