Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
文字を除いてurldecodeしたい%20。どうすればこれを達成できますか?
%20
デコード後に文字列置換を行うことを検討しましたか? 例えば
string decoded = HttpServerUtility.UrlDecode(input).Replace(" ", "%20");
使用方法HttpUtility.HtmlDecode(myEncodedString, myWriter);
HttpUtility.HtmlDecode(myEncodedString, myWriter);