+ -
当前位置:首页 → 问答吧 → 英文版eclipse3.7写servlet程序中文成乱码“?”

英文版eclipse3.7写servlet程序中文成乱码“?”

时间:2011-10-19

来源:互联网

我用英文版eclipse3.7写servlet程序时,中文成乱码“?”
写成<input type="button" value="按钮">时
“按钮”变成了问号“?”

写<input type="button" value="submit">时正常显示

怎么解决?

作者: rrrrr456mm   发布时间: 2011-10-19

与eclipse无关

在request里设置一下编码

作者: trocp   发布时间: 2011-10-19

应该是jsp页面的问题,把jsp页面的编码方式改成中文编码(GBK)

作者: sun52bc   发布时间: 2011-10-19

热门下载

更多