Top "Escaping" questions

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

Process escape sequences in a string in Python

Sometimes when I get input from a file or the user, I get a string with escape sequences in it. …

python string escaping
How to escape os.system() calls?

When using os.system() it's often necessary to escape filenames and other arguments passed as parameters to commands. How can …

python shell escaping
Valid JSON giving JSONDecodeError: Expecting , delimiter

I'm trying to parse a json response data from youtube api but i keep getting an error. Here is the …

python json escaping rawstring
In Java, is there a way to write a string literal without having to escape quotes?

Say you have a String literal with a lot of quotation marks inside it. You could escape them all, but …

java string escaping
A good way to escape quotes in a database query string?

I've tried all manner of Python modules and they either escape too much or in the wrong way. What's the …

python database escaping sql-injection
How to escape the backslashes and the automatically generated escape character in file path in java

I have very small and simple problem but I am not getting solutions on it. Actually I am getting a …

java escaping filepath backslash
Decode escaped characters in URL

I have a list containing URLs with escaped characters in them. Those characters have been set by urllib2.urlopen when …

python escaping
Reload .Xresources without restarting the xterm

To use ALT key in vim without tweaking, the escaping should be disabled in xterm. Without escaping the ALT will …

bash vim escaping xterm alt-key
How to escape single quote in sed?

How to escape a single quote in a sed expression that is already surrounded by quotes? For example: sed 's/…

sed escaping quote
What does it mean to escape a string?

I was reading Does $_SESSION['username'] need to be escaped before getting into an SQL query? and it said "You …

php mysql security escaping