URL conveying Chinese solution

xiaoxiao2021-03-06  116

Author: xrascal Source: aspxcn

URL Delivery Chinese Solution 1. Set the web.config file. (I don't like to set it into this) ... ..... . 2. Before passing the Chinese, the Chinese parameter to be passed is encoded, and decoded again when receiving. >> Transfer String Name = "Chinese Parameters"; Response.Redirect ("B.ASPX? Name =" Server.urlencode (Name)); >> Receive String Name = Request.QueryString ["Name"]; response .Write (server.urdecode (name); 3. If it is to transfer Chinese parameters from the .html file (ie, do not use the Redirect () method from the background). The passing Chinese parameter is to be encoded, and decoded again when receiving. >> Performance