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.
escapeHTMLJava からの .NET で、特別なギリシャ記号、以下、同一、またはその他の数学文字を使用してプレーン テキストをエスケープする同様のメソッドが必要です。次のようなプレーンテキストがa ≤ bあり、それを HTML エンティティにエスケープしたいa ≤ b
escapeHTML
a ≤ b
a ≤ b
使用できます
HtmlEncode() and HtmlDecode()
これらのメソッドはSystem.Web.HttpUtility名前空間で利用可能です
System.Web.HttpUtility
リンク: http://msdn.microsoft.com/en-us/library/w3te6wfz.aspx