下面选项中,服务器发送数据不会产生乱码的是( )
A. response.getOutputStream().write(“中国”.getBytes(“utf-8”));
B. response.getWriter().write(“中国”);
C. response.setCharacterEncoding(“utf-8”);response.setHeader(“Content-Type”,”text/html;charset=utf-8”);response.getWriter().write(“中国”);
D. response.setContentType(“text/html;charset=utf-8”);response.getWriter().write(“中国”);