Top "Escaping" questions

Escaping is the process of applying an alternate meaning to a character or set of characters.

How to convert characters to HTML entities using plain JavaScript

I have the following: var text = "Übergroße Äpfel mit Würmern"; I'm searching for a Javascript function to transform …

javascript escaping html-entities
Sanitizing user input before adding it to the DOM in Javascript

I'm writing the JS for a chat application I'm working on in my free time, and I need to have …

javascript xss escaping
Python "string_escape" vs "unicode_escape"

According to the docs, the builtin string encoding string_escape: Produce[s] a string that is suitable as string literal …

python encoding quotes escaping
How to write string literals in python without having to escape them?

Is there a way to declare a string variable in python such that everything inside of it is automatically escaped, …

python string escaping
Escape quote in web.config connection string

I have a connection string in my web config: <add name="MyConString" connectionString="Server=dbsrv;User ID=myDbUser;Password=…

asp.net escaping web-config connection-string
Escape double quote in VB string

I have used following piece of code to execute schtasks command from VB6. While executing it, ignores folder if they …

string vb6 escaping
Escaping double quotes in JavaScript onClick event handler

The simple code block below can be served up in a static HTML page but results in a JavaScript error. …

javascript html javascript-events escaping
String escape into XML

Is there any C# function which could be used to escape and un-escape a string, which could be used to …

c# .net xml visual-studio-2008 escaping
In Java, should I escape a single quotation mark (') in String (double quoted)?

In Java, \' denotes a single quotation mark (single quote) character, and \" denotes a double quotation mark (double quote) character. …

java string escaping character
JSTL escaping special characters

I have this weird issue with special characters. In JSP, I am using field name as id and the name …

jsp escaping jstl special-characters