C #: When we use url to pass the parameter, such as index. aspx? Id = me. When the parameter value is a Chinese character, garbled characters are often encountered. Here are some solutions: 1. configuration File web. in the section "config", add the encoding method of the entire website. The Code is as follows: [html] <! -- Start from GB2312 encoded as Chinese --> <globalization requestEncoding = "gb2312" responseEncoding = "gb2312"/> <! -- End with GB2312 encoded as Chinese --> the parameter is transmitted in gb2312 Chinese encoding mode. The general default is the utf-8.2. In parameter passing is first encoded in transmission, accept first encoding, in receiving. String mm = Server. URLEncode (you); Response. Redirect (index. aspx? Mm = + mm), and then decode on the receiving page: string mm = Server. URLDecode (Requext. querystring (mm); js: Passing parameter: Use encodeURI ("url parameter") to encode the received parameter: Use decodeURI ("received value") to decode the received parameter.