axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rapidlord <>
Subject Unicode and UTF-8 in Axis2/C client
Date Fri, 02 Nov 2007 10:58:54 GMT

I have server service implementation in Axis JAVA, for example:
SubmitText(java.lang.String data)
The submitted text "data" can be Unicode. (It must be unicode)

I created C++ client code useing WSDL2C, and i found that client function

status = adb_submitText_set_data(submitText,env,data);
serRespone = axis2_stub_MyService_submitText(stub,env,submitText);

Where "data" is type  axis2_char_t*   (#define char  axis2_char_t)

So input string for SubmitText on client side is ANSII one byte "char" 

Whats heppend to unicode support?
How can i submit UTF-8  BSTR string to SubmitText and dont lose any data.
Its very important to submit full unicode text, so conversion from BSTR ->
ANSII(char) is unacceptable. 

Thank you.
View this message in context:
Sent from the Axis - C++ - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message