Tuesday, June 09, 2009

The query string was not meant to pass descriptions and string. The correct use of it is using codes and numbers. Anyway, my friend did write query strings with hebrew descriptions and didn't understand why the server side got it scrambled.

This was caused because the client side and the server side were using different encodings. The correct way of doing this is wrapping the strings using the JavaScript command encodeURIComponent (in the client side). This will turn the strings into Unicode. In the server side, using ASP.NET, you can use the Server.UrlDecode method to get it back.

 |  | 
Sunday, August 02, 2009 7:50:22 PM (Jerusalem Daylight Time, UTC+03:00)
Hi Miky,

I have some question regarding this article.

Please give some sign if you see this msg.

Yair
Yair
Monday, August 03, 2009 2:19:13 AM (Jerusalem Daylight Time, UTC+03:00)
I'm here
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):