escaped-characters

Is there an escape character in MASM?

I know that strings surrounded by single quotes can contain double quotes and vice versa, but can a string contain both? For example, the string: How do you say, "Where's the bathroom?" in Spanish? ...

PHP - big trouble escaping "\"

Hi. I try to explain my problem with a non-perfect english :) When i try to send some string (client side) to the server, i see that the HTML Form add the "\" char as escape before some chars (for example with ", ' and \ itself). But this is a problem : if save it on mysql, before i filter the string using mysql_real_escape_string(), a...

How can I ignore escape character Vertical tab

I have a issue when I look up a user name using the code below if the user has \v in their name. For Example, if their user name is xxx\vtest, it can't find the backslash when using the LastIndexOf function. string strUser = this.Context.User.Identity.Name; strUser = strUser.Substring(strUser.LastIndexOf("\\") + 1); If I do try thi...

What is the right way to create tabs and line breaks in PHP when using single quotes?

Hi, Seems like a simple question, but I haven't been able to find a solid answer anywhere. I'm outputting a ton of HTML and find escaping "s to be error prone and hard to read, but I also want to have my HTML formatted nicely. Want something like this (though I know this won't worK): echo '<div id="test">\n'; echo '\t<div id="test-s...

Preserving Escaped Characters in Python XML Parsing

Hello, I'm trying to write a python script that takes in one or two xml files and outputs one or two new files based on the contents of the input files. I was trying to write this script using the minidom module. However, the input files contain a number of instances of the escape character inside node attributes. Unfortunately, in...

How does one insert XSLT elements with attributes inside of javascript inside of a html attribute?

Question summary: What changes do I have to make to make the following xslt document valid. The following is a simplified version of a theme document I am trying to modify for a Gizmox WebGUI DataGrid control. The issue I am having with it is the horrendous onclick event attribute on the button element. I have tried the code both this...

Need to send two kinds of quotes in a string via jQuery

I'm sending some html via jQuery, and in this html are various values that need to be quoted, and in one instance, there's a nested value, so I have to be able to send both kinds of quotes. Here's some mock code: var myVar = "<tag value='foo' value2="config={'bar':null, 'foo2':true}" />"; How can in ensure that the double quotes are s...