试题详情

以下哪一个方法可以解决post请求时传递的中文参数乱码问题()

Aeq.setCharacterEncoding(“utf-8”);

Bnew String( req.getParameter(key).getBytes() , “utf-8” );

Cesp.setContentType(“text/html;charset=utf-8”);

Desp.getOutputStream()