为什么在JBudile的jsp里输入汉字后会显示成乱码

来源:百度知道 编辑:UC知道 时间:2024/06/26 01:44:22

表头加上
<%@ page contentType="text/html; charset=gbk2312" %>
刚刚加入不好用,需要将你的工程重新启动下,然后输入中文就好用了。

tools/editor options/display/editor font把字体改为 DIALOGINPUT

<%@ page contentType="text/html; charset=gbk2312" %>
基本上加上这个东西也没大有用处`
你在servlet上写上(request)reponse.sendchar(GBK)什么的方法