encoding problem

Marc Logemann <[email protected]> Fri, 5 Dec 2003 01:28:47 +0100
Newsgroups gmane.comp.java.enhydra.ksoap
Message-ID <EqH6I9qpveTxdzvwIwJJr7W9e5lPUta7LpxRH3sESVN@akmail>
Hi,

after 6 hours of researching and trying, i am at the end ;-/

Getting data back from an axis webservice and have problems displaying th=
e german umlaute
on my MIDP device. (i tried several emulators and my real device).

THe point is, my J2SE test client is working perfectly and displays every=
thing correct. My
kSoap client gives back garbage for chars like =F6 or =E4 (german special=
 chars).

i read the archives and found the UTF8 method parm for the streams in Htt=
pTransport, but even when adding
them, the result is the same (everything else would be crazy anyway).

I must admint encoding is my weakest area, so i have these questions:

1. Do i have to decode the string on webservice side with getBytes("UTF8"=
) ? Done that and got
even more crazy stuff back.

2. Why must i do anything at all? If server and client understand UTF8?

What things can i also check?

Thanks
---
regards
Marc Logemann
check http://www.logemann.org