Skip to main content

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

No replies
joersch
Offline
Joined: 2008-11-06
Points: 0

Hello,

i tried to send data via Asynchronous I/O for Java ME (https://meapplicationdevelopers.dev.java.net/mobileajax.html) 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 (Request.java). 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