Solution to Chinese URL delivery
1. Set the Web.config file. (I don't like to set it up like this)
......
......
2. Before passing the Chinese language, the Chinese parameters to be passed are encoded and decoded at the time of receiving.
>> to deliver
String Name = "Chinese
1. Set up the Web. config file . 2. Before passing the Chinese, the Chinese parameter to be passed is encoded, and then decoded when it is received. >> Pass string Name = "Chinese parameter"; Response.Redirect ("B.aspx? Name= "+server.urlencode (Name)); >> to receive the Span class= "Apple-converted-space" > string name = request.querystring[
URL-based Chinese delivery solution1. Set the Web. config file.
System
. Web
>
Globalization
Requestencoding
= "Gb2312"
Responseencoding
= "Gb2312"
Culture
= "ZH-CN"
Fileencoding
= "Gb2312"
/>
System. Web
>
2. Before passing Chinese characters, encode the Chinese paramet
Url-based Chinese delivery solution1. Set the web. config file. (I don't like setting it like this)............2. Before passing Chinese characters, encode the Chinese parameters to be passed and decode them upon receiving them.> TransferString Name = "Chinese parameter ";Re
Jez (thoughtworker) masterpiece "continuous delivery" was published. Martin Fowler (another thoughtworker) in order and included in the Martin Signature Series. The Chinese version of this book is being translated by Qiao Liang and others (including me). The Chinese version is estimated to be coming next year. However, I will give a speech on this topic at the ag
1. Set up the Web. config file.............2. Before passing the Chinese, the Chinese parameter to be passed is encoded, and then decoded when it is received.>> for deliveryString Name = "Chinese parameter";Response.Redirect ("B.aspx? Name= "+server.urlencode (Name));>> to receiveString name = request.querystring["Name"];Response.Write (Server.urldecode (Name));3
Encoding good URL is correct, can be uploaded to another page will be wrong, in the address bar has been garbled1. Set up Web.config file
Copy Code code as follows:
2.asp.net to asp.net page values
For delivery
String Name = "Chinese parameters";
Response.Redirect ("B.aspx?") Name= "+server.urlencode (Name));
To receive
String Name = request.querystring["name"];
Response.Write (Server
URL Delivery solution for Chinese
1. Set the Web.config file. (I don't like to set it up like this)
......
......
2. Before passing the Chinese language, the Chinese parameters to be passed are encoded and decoded at the time of receiving.
>> to deliver
String Name = "Chinese
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.