Hello Group,

Problem:

I have a text field and user may enter any kind of text like french, spanish, 
german characters apart of english characters.

Am using AJAX to send this field input to server and get the matching data. 
While sending data to server I am using javascript encodeURI() function to 
encode the user entered text (for eg: Jiménez) and append it to the Ajax URL: 
http://localhost/cgi-bin/WebObjects/MyPeanut.woa/-45001/wo/G7enthVGBXdPyZWw2wZkFg/38.7.9?qin=jim%C3%A9nez

But on the server-side action method when I try to read the above user input 
using following api:

context().request().formValueForKey("qin")

following data is returned by above API: jiménez

"Can any one advise me how to exactly decode the user input in the WebObjects, 
encoded by encodeURI javascript function." I have checked the WORequest API and 
googled but could not find any helpful response.

Please advise.

Thanks in advance,
Shravan Kumar. M



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to