Re: [cxf-zh] cxf中文乱码

209 views
Skip to first unread message

Freeman Fang

unread,
Oct 15, 2012, 6:15:47 AM10/15/12
to cxf...@googlegroups.com
Hi,

请解释“webservice客户端发送中文乱码” 具体是指什么? 是说soap message 里面是中文乱码么?
指定字符集可以用java system property -Dfile.encoding=UTF8(或者其他的编码格式)
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat

On 2012-10-15, at 下午5:52, lynn wrote:

cxf版本2.2.10,开发环境字符集gbk,webservice客户端发送中文乱码,从截获的soap消息看是使用的utf-8,并没有使用系统默认字符集,请问如何配置?菜鸟一枚,还请大家多多指教

--
您收到此信息是由于您订阅了 Google 论坛“cxf-zh”论坛。
要在此论坛发帖,请发电子邮件到 cxf...@googlegroups.com
要退订此论坛,请发邮件至 cxf-zh-un...@googlegroups.com
更多选项,请通过 http://groups.google.com/group/cxf-zh?hl=zh-CN 访问该论坛
----
Apache CXF 首页 http://cwiki.apache.org/confluence/display/CXF/Index

Freeman Fang

unread,
Oct 15, 2012, 10:07:56 PM10/15/12
to cxf...@googlegroups.com
用-Dfile.encoding=gbk 应该就行

-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat

On 2012-10-16, at 上午9:46, lynn wrote:

之前没有说清楚,java开发环境是gbk的,cxf是使用utf-8发送消息,现在想把cxf或者soap消息改成gbk的
在 2012年10月15日星期一UTC+8下午6时15分59秒,freeman.fang写道:
Reply all
Reply to author
Forward
0 new messages