Encoding Problems

K

Kenneth Ellested

Hi,

I'm using the MSXML4 XMLHTTP object to send soap messages. Yesterday all
worked fine, and I think the installation og either XP SP2 or .net 1.1 SP1
is causing some problems in this area.

String arguments to the service method are not correctly decoded as UTF-8
strings anymore.
The XMLHTTP object is specifying "text/xml;charset=utf-8" which worked
before, but when I look at the content type header in the request, it just
says "text/xml".
I have saved/dumped the whole request to a text file and all strings look
fine. But the string argument in the service method consist of ??? for all
the UTF-8 characters.

If I read the input stream into a byte buffer and decode everything into a
UTF-8 string the characters are also right.

How do I proceed to figure out whats going on here?

Regards
Kenneth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top