单项选择题

A.req.setCharacterEncoding(“utf-8”);
B.new String(req.getParameter(key).getBytes(),“utf-8”);
C.resp.setContentType(“text/html;charset=utf-8”);
D.可以任意传递中文参数,不会出现乱码