Top "Escaping" questions

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

What characters do I need to escape in XML documents?

What characters must be escaped in XML documents, or where could I find such a list?

xml escaping character
How to replace a character by a newline in Vim

I'm trying to replace each , in the current file by a new line: :%s/,/\n/g But it inserts what …

vim replace escaping newline vi
How do I escape ampersands in XML so they are rendered as entities in HTML?

I have some XML text that I wish to render in an HTML page. This text contains an ampersand, which …

html xml escaping ampersand
Escaping HTML strings with jQuery

Does anyone know of an easy way to escape HTML from strings in jQuery? I need to be able to …

javascript jquery string escaping
Insert HTML into view from AngularJS controller

Is it possible to create an HTML fragment in an AngularJS controller and have this HTML shown in the view? …

javascript angularjs escaping html-sanitizing
HTML-encoding lost when attribute read from input field

I’m using JavaScript to pull a value out from a hidden field and display it in a textbox. The …

javascript jquery html escaping html-escape-characters
How do I use spaces in the Command Prompt?

How can I use spaces in the Windows Command Line? cmd /C C:\Program Files (x86)\WinRar\Rar.exe a …

windows cmd escaping
How do I escape a single quote ( ' ) in JavaScript?

UPDATE: I want to give an updated answer to this question. First, let me state if you're attempting to accomplish …

javascript html escaping
How can I make Java print quotes, like "Hello"?

How can I make Java print "Hello"? When I type System.out.print("Hello"); the output will be Hello. What …

java escaping double-quotes system.out
What are all the escape characters?

I know some of the escape characters in Java, e.g. \n : Newline \r : Carriage return \t : Tab \\ : Backslash ... Is …

java string escaping