互联网服务中间件

LINUX下WEBSPHERE部署的应用程序录入中文,程序无法解析中文

1.目前LINUX语言设置如下LANG="zh_CN.UTF-8"SUPPORTED="en_US.UTF-8:en_US:en"SYSFONT="latarcyrheb-sun16"2.程序应用语言设置为UTF-83.websphere中在管理控制台--->服务器--->应用程序服务器--->server1--->java和进程管理--->进程定义--->java虚拟机--->将通用jvm参数...显示全部
1.目前LINUX语言设置如下
LANG="zh_CN.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
2.程序应用语言设置为UTF-8
3.websphere中在管理控制台--->服务器--->应用程序服务器--->server1--->java和进程管理--->进程定义--->java虚拟机--->将通用jvm参数设置为
default.client.encoding     UTF-8       client
file.encoding                   UTF-8       file
4.后台日志输出
[1/7/11 15:20:47:766 CST] 00000023 SystemOut     O String[] ss = (String [] ) is null
[1/7/11 15:20:47:767 CST] 00000023 SystemOut     O this.shopid_test:
[1/7/11 15:20:47:767 CST] 00000023 SystemOut     O sql_search_test:select shopid,shopname from shop s LEFT OUTER JOIN Area a ON (a.areacode=s.areacode)  where   s.shopid  LIKE '%'or s.shopname like '%'
[1/7/11 15:20:48:893 CST] 00000026 SystemOut     O String[] ss = (String [] ) is null
[1/7/11 15:20:48:893 CST] 00000026 SystemOut     O this.shopid_test:
[1/7/11 15:20:48:893 CST] 00000026 SystemOut     O sql_search_test:select shopid,shopname from shop s LEFT OUTER JOIN Area a ON (a.areacode=s.areacode)  where   s.shopid  LIKE '%'or s.shopname like '%'
[1/7/11 15:20:51:324 CST] 00000026 SystemOut     O String[] ss = (String [] ) is null
[1/7/11 15:20:51:324 CST] 00000026 SystemOut     O this.shopid_test:
[1/7/11 15:20:51:324 CST] 00000026 SystemOut     O sql_search_test:select shopid,shopname from shop s LEFT OUTER JOIN Area a ON (a.areacode=s.areacode)  where   s.shopid  LIKE '%'or s.shopname like '%'
5、前台录入请看图

1.jpg

收起
参与10

查看其它 8 个回答mfkqwyc86的回答

mfkqwyc86mfkqwyc86技术经理风哥
用中文不好看,还是用英文好
系统集成 · 2011-01-07
浏览1099

回答者

mfkqwyc86
技术经理风哥
擅长领域: 中间件服务器存储

mfkqwyc86 最近回答过的问题

回答状态

  • 发布时间:2011-01-07
  • 关注会员:1 人
  • 回答浏览:1099
  • X社区推广