开发者

diacritics in asp.net querystring collection

开发者_StackOverflow社区

I'm trying to get a value out of the querystring that has diacritics. The diacritics are encoded in utf-8 %uxxx format, and when I check Request.QueryString["name"] they are incorrectly decoded. However, if i check Request.RawUrl, they are there and correct.

I've tried adding

<globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8"/>

but still have the issue.

Is there any solution to this issue short of parsing the RawUrl myself and correctly handling the diacritics?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜