首页 › 答案 › 题库 › 超星尔雅学习通未分类

为了避免服务器的响应信息在浏览器端显示为乱码,通常会使用()语句设置字编码。

为了避免服务器的响应信息在浏览器端显示为乱码,通常会使用()语句设置字编码。
A.response.setContentType();
B.response.setCharacterEncoding();
C.response.setPageCoding();
D.response.setCharset();
正确答案:B