Top "Html-encode" questions

Anything related to encoding or decoding HTML entities.

How to get MVC model strings as plain text in views

I'm sending a model to a view that have strings. Those strings are html encoded and I do not need …

javascript asp.net-mvc razor html-entities html-encode
Html encoding in .NET class library

I have a utility class for sending emails. The emails are generated as html. I'm having problems with encoding special …

c# .net html-encode
Make an NSURL with an encoded plus (%2B)

I need to pass a timestamp with a timezone offset in a GET request, e.g., 2009-05-04T11:22:00+01:00 This …

iphone url html-encode
Automatically HtmlEncode strings when the model is serialized with Json.Net

Is there a way to configure Json.Net to automatically encode all strings like HtmlEncode(myString) when the model is …

c# serialization json.net html-encode
MVC3 TextBoxFor with encoded text

Is there a way to use TextBoxFor helper with encoded text? for example: When using the following helper of MVC3 …

asp.net-mvc asp.net-mvc-3 html-encode
Why is my custom HTML Helper result getting html encoded?

I've got the following custom html helper in asp.net mvc 3 public static string RegisterJS(this HtmlHelper helper, ScriptLibrary scriptLib) { …

asp.net-mvc-3 html-encode
Fastest way to replace string in js?

When I submit/POST data to the server, I need to HTMLencode its characters (the relevant ones), since disabling input …

javascript jquery html-encode
What's the difference between Android's Html.escapeHtml and TextUtils.htmlEncode ? When should I use one or the other?

Android has two different ways to escape / encode HTML characters / entities in Strings: Html.escapeHtml(String), added in API 16 (Android 4.1). …

android android-webview html-entities html-encode html-escape
Fortify and AntiXSS

My company requires our ASP.NET code to pass a Fortify 360 scan before releasing the code. We use AntiXSS everywhere …

c# asp.net html-encode antixsslibrary fortify
Xml Escaping/Encoding terminology

I'm confused as for the difference between the terms "escaping" and "encoding" in phrases like: Xml Encoding Xml Escaping Encoded …

xml encoding escaping html-encode xml-encoding