---
title: "asp.net request 传中文乱码"
author: "devilhand"
date: "2009-12-31T15:35:16Z"
tags: []
categories: ["编程语言"]
slug: "asp-net-request"
draft: false
lastmod: "2009-12-31T15:35:16Z"
id: 560605
url: "https://devilhand.iteye.com/blog/560605"
---

传递:  
Response.Redirect("show.aspx?id="+ HttpUtility.UrlEncode("中国"));

接收:  
String sGet = HttpUtility.UrlDecode(Request.QueryString\["id"]);  
Response.write(strGetString)