Topic: 请指教jsp乱码问题 |
Print this page |
1.请指教jsp乱码问题 | Copy to clipboard |
Posted by: li_chuansong Posted on: 2004-04-07 07:07 版本:weblogic7 weblogic所在操作系统:中文win2000 oracle所在操作系统:中文win2000 oracle数据库字符集:ascii7 若在jsp页面中加<%@ page contentType="text/html; charset=gb2312" %>则从数据库中显示的汉字内容乱码,若不加则页面中的汉字乱码 清高手指教 |
2.Re:请指教jsp乱码问题 [Re: li_chuansong] | Copy to clipboard |
Posted by: mefaint Posted on: 2004-04-07 10:04 从Oracle取出后,转码。 |
3.Re:请指教jsp乱码问题 [Re: li_chuansong] | Copy to clipboard |
Posted by: flowerknight Posted on: 2004-04-08 00:42 String result=new String(rs.getString(1).getBytes("ISO8859-1")); |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |