public static String getReadStr(String str) {
        try {
            String temp_p = str;
            byte[] temp_t = temp_p.getBytes("ISO8859-1");
            String unicode = new String(temp_t,"GBK");
            return unicode;
        }
        catch(Exception e) {
            return "null";
        }
    }String a=getReadStr((String)request.getparamter("sc"));