Junk MultiByte( french chars) passed via Client to Server

Hello Gurus,

I have to send Multibyte characters UTF8 charset from rmi client to Server. currently, I am sending various string data in a HashMap from Client to Server.

In the client side, I think I am passing correct String (French language) but when I extract the value for HasMhap in Server side, I am getting some junk characters wherever there are multibyte chars

Please advise,

[408 byte] By [arun_reda] at [2007-11-26 18:56:21]
# 1
Hex dump the data as it is sent, and hex dump it as it's received to identify the source of the problem.
ChuckBinga at 2007-7-9 20:35:13 > top of Java-index,Core,Core APIs...
# 2
Hi Thank you,I dont know how to do hex dump. where can I get more info on this?Thanksarun
arun_reda at 2007-7-9 20:35:13 > top of Java-index,Core,Core APIs...
# 3
Do you use Strings or some other data type for the utf-8 chars?
genadya at 2007-7-9 20:35:13 > top of Java-index,Core,Core APIs...
# 4
I used Strings.. The data is obtained from Database. I assigned it to a String and then created a HashMap to pass the String to RMI server. HashMap will have other data too.
arun_reda at 2007-7-9 20:35:13 > top of Java-index,Core,Core APIs...