views:

190

answers:

2

Is there any XML-RPC client for windows for C++ with UTF-8 support?

I looked at XMLRPC++, but it doesn't support any encoding.

A: 

One of the reasons UTF-8 was created was to be transparent to most existing applications, and so will xmlrpc++ though I guess you get in trouble if you enable Unicode character set in the visual studio project.

If you feed xmlrpc++ UTF-8, it'll pass it through, same thing if you receive UTF-8. (And remember that all ascii characters encode as themselves in UTF-8)

Anonym
I know what is xml and when it is used. The problem is not that xmlrpc++ can't passthough utf-8, but is that xmlrpc++ doesn't set or understand encoding of in/outbound xml-rpc request.So the xml parser doesn't understand the document(request, actually) encoding.
Anton Kazennikov
Well, you asked about UTF-8, but yes - if you need encoding/decoding of charsets other than utf-8/ascii or your default charset , you won't get that with xmlrpc++.
Anonym
+1  A: 

You may want to take a look at gSoap.

http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc19.1

Garett