Skip to main content

Problems with character encoding in Asynchronous I/O for Java ME

No replies
Joined: 2008-11-06


i tried to send data via Asynchronous I/O for Java ME ( to my server.

If i send localized characters, e.g. german ö, ä, ä, then i can't correct convert this on server side.
I look in the source-code ( There i found the character are converted :

sbuf.append(Integer.toHexString(ch & 0xff));

What kind of encoding is this, what i should use to encode on server-side this?
I tried URLDecoder.decode(msg, "UTF-8");
but it didn't work.

Everybody any ideas?

Message was edited by: joersch