:: Forum >>

parameter passing in URL....

Hi my friends,
I have a form that opens up a new window when the submit button is clicked.
Form results are then passed to the new window throuh URL.

My problem is that I am working with double-byte characters (Japanese).
When I enter single-byte (English) input into the form, the script works
normally.However, when I enter double-byte (Japanese) characters, and
access the the URL value passed to the new form( using
<%=request.getParameter("myFieldvalue")%> ),the double byte charactors appear to be junk.

Any hints would be greatly appreciated

Regards,
Senthilkumar.J
sarsenthil@yahoo.com
Tokyo, Japan.
Senthilkumar.J
Wednesday, March 23, 2005
lol
Sunday, January 15, 2006
a JavaScript encoding issue? <a href="http://blog.openboxsoftware.com/2006/04/javascript-escape-vs-encodeuricomponent/">javascript escape vs encodeURIComponent</a> may help...

"I came across a situation where I had to pass this nasty character “Ö” in a querystring... This querystring variable was encoded using the javascript escape method."

"The moral of the story is that we should be using encodeURIComponent when encoding at a querystring variable level or encodeURI when attempting to encode an entire URL string (they both use UTF8 encoding)."
d@vid
Tuesday, June 13, 2006

This topic is archived.


Back to support forum

Forum search