.NET为例:
如: /Home/Index?key=套餐
程序能读到正确的值.Requst["key"]为"套餐"
/Home/Index?key=%e5%a5%97%20%e9%a4%90
值Requst["key"]也为"套餐", 切记不是”%e5%a5%97%20%e9%a4%90“
NOTICE:
<%= Url.Action("Index", "Home", new {key="套餐"}) %>
Url.Action会做encode
ref:http://msdn.microsoft.com/en-us/library/dd504960.aspx
顺便链接一篇关于url文章:
http://www.pjhome.net/article/Note/1038.htm