PDA

View Full Version : Kanji character becomes garbage when sent through url


Rohant18
04-08-2009, 01:59 PM
Dear Friends,
I ahve an application in which I need to hyperlink some of the words on my page.The text is in double byte characters (Japanese).
I need to send a Kanji character as a parameter to this url which is actually a jsp page on another site which searches some data related to this word sent from my page.
Now the problem is when I send such a character to this jsp it appears on it as garbage (as ?? text).
But when I place mouse over the word on my page, it shows the URL correctly.i.e the Kanji characters are visible correctly.while receiving at the jsp page it is getting garbaged.
I am using UTF-8 as encoding and the jsp page is having EUC-JP encoding
I tried changing my page encoding to EUC-JP as well but no success.
Also tried sending the word as EUC-JP using mb_convert_encoding function
but still the problem persists.

Could anybody tell me how to go with this?

-Rohant