質問

I'm looking for the equivalent of System.Web.HttpUtility.UrlDecode() method in Portable Class Library (PCL) that can target all the supported platforms (.Net 4.0+, WP 7.5+ and Windows 8+)

役に立ちましたか?

解決

This will do:

var urlDecoded = Uri.UnescapeDataString(urlEncoded).Replace('+', ' ');
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top