题目:阅读下面代码片段: response.setContentType("text/html;charset=utf-8"); 下列选项中,与上述代码功能等效的是( )
A. response.setCharacterEncoding("utf-8");
B. request.setCharacterEncoding("utf-8");
C. response.setHeader("Content-Type","text/html;charset=utf-8");
D. response.setHeader("Content-Type","charset=utf-8");
答案:评论后可见此内容