You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by yl d <ch...@yahoo.com> on 2004/05/03 17:17:42 UTC
does axis c++ support other charset.
hi,all
sorry to bother again.
now i am using axis c++ 1.0 as client,and axis java as
server.
i wrote a helloworld webservice.
the method:Hi, returns the string :"hello world".
i succeed to complete the client and server.
but when i want to return a chinese string in the
method "Hi",the client failed to get the right
response.
the client source code is as below:
#include "HelloWorld.h"
int main()
{
HelloWorld c;
string s=c.Hi();
printf("%s",s.c_str());
}
it prints nothing.
anyone can help me?
thanks.
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
RE: does axis c++ support other charset.
Posted by John Hawkins <HA...@uk.ibm.com>.
There is an open source suite called ICU4C which could help us with these
sorts of issues. Look here ->
http://oss.software.ibm.com/icu/
It could also help us with UTF issues and removal of stl?
John Hawkins,
"Susantha Kumara"
<susantha@opensou
rce.lk> To
"'Apache AXIS C User List'"
06/05/2004 14:03 <ax...@ws.apache.org>
cc
Please respond to Subject
"Apache AXIS C RE: does axis c++ support other
User List" charset.
Hi,
I have no idea how I write a client that manipulate Chinese (or any
other than English) characters. But I know that this is something yet to
do in Axis C++. Your feedback and help would be a great help for us to
improve Axis.
How do you write an application to print Chinese characters ?. I mean
using printf(..) etc ?. Do you have different compilers / libaries /
IDEs to do this ?.
Thanks
---
Susantha.
-----Original Message-----
From: yl d [mailto:chiesaitaly@yahoo.com]
Sent: Monday, May 03, 2004 9:18 PM
To: axis-c-user@ws.apache.org
Subject: does axis c++ support other charset.
hi,all
sorry to bother again.
now i am using axis c++ 1.0 as client,and axis java as
server.
i wrote a helloworld webservice.
the method:Hi, returns the string :"hello world".
i succeed to complete the client and server.
but when i want to return a chinese string in the
method "Hi",the client failed to get the right
response.
the client source code is as below:
#include "HelloWorld.h"
int main()
{
HelloWorld c;
string s=c.Hi();
printf("%s",s.c_str());
}
it prints nothing.
anyone can help me?
thanks.
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
RE: does axis c++ support other charset.
Posted by Susantha Kumara <su...@opensource.lk>.
Hi,
I have no idea how I write a client that manipulate Chinese (or any
other than English) characters. But I know that this is something yet to
do in Axis C++. Your feedback and help would be a great help for us to
improve Axis.
How do you write an application to print Chinese characters ?. I mean
using printf(..) etc ?. Do you have different compilers / libaries /
IDEs to do this ?.
Thanks
---
Susantha.
-----Original Message-----
From: yl d [mailto:chiesaitaly@yahoo.com]
Sent: Monday, May 03, 2004 9:18 PM
To: axis-c-user@ws.apache.org
Subject: does axis c++ support other charset.
hi,all
sorry to bother again.
now i am using axis c++ 1.0 as client,and axis java as
server.
i wrote a helloworld webservice.
the method:Hi, returns the string :"hello world".
i succeed to complete the client and server.
but when i want to return a chinese string in the
method "Hi",the client failed to get the right
response.
the client source code is as below:
#include "HelloWorld.h"
int main()
{
HelloWorld c;
string s=c.Hi();
printf("%s",s.c_str());
}
it prints nothing.
anyone can help me?
thanks.
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover