您的位置:程序门 -> websphere ->



关于在unix环境下送cics的中文乱码问题


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


关于在unix环境下送cics的中文乱码问题
发表于:2007-09-17 18:20:32 楼主
问题描述:
        在windowsde   环境的ie中上送一段中文字符串例如:京a00001,在linux   环境的websphere下得到这个字符串显示正确,为:京a00001,上送给cics   client,执行不出正确结果,在cics   server的log中显示这个字符串变成乱码:浜珿a0001.
        怎么才能在传给cics   server时不成为乱码?或者说cics   server接受的中文编码是什么格式的?

环境描述:
          websphere   运行在linux
          websphere的启动中加有-dfile.encoding=gbk

          前端页面上有 <meta   http-equiv="content-type"   content="text/html;   charset=gb2312"/>
          应用中的web.xml加有
        <filter>
        <filter-name> set   character   encoding </filter-name>
        <filter-class> cn.com.brilliance.cc.common.struts.setcharacterencodingfilter </filter-class>
        <init-param>
                <param-name> encoding </param-name>
                <param-value> gb2312 </param-value>
        </init-param>
        <init-param>
                <param-name> ignore </param-name>
                <param-value> false </param-value>
          </init-param>
          </filter>

很急,请高手帮忙!谢谢!


快速检索

最新资讯
热门点击