Questions tagged [html-escape-characters]

HTML escape characters are special codes, used to display Unicode characters including those which can't be typed on a standard keyboard and those having a special meaning to HTML.

HTML escape characters are special codes, used to display Unicode characters including those which can't be typed on a standard keyboard and those having a special meaning to HTML.

To type a Unicode character, type an ampersand (&) and a hash-symbol (#) followed by the Unicode codepoint and a semi-colon (;)

For example:

& =>&

&#60; =><

&#169; =>©

&#8453; =>

&#8364; =>

378 questions
-1
votes
1 answer

What is this character?

I've found this character " ⚙ " on a webmail of a malaysian hostbut I can't find its charcater entity (like & = & = &) nowhere. Can anybody help me??
Cliff Burton
  • 3,414
  • 20
  • 33
  • 47
-1
votes
1 answer

In what scopes do special HTML characters need to be escaped?

In HTML, Dust & Bones needs to be escaped as follows: Dust & Bones What's the scope of where & needs to be applied. Is it just href or is it anywhere within HTML…
user48956
  • 14,850
  • 19
  • 93
  • 154
-1
votes
2 answers

Escaping HTML characters in JSP without special library

I'm a new programmer at a software house, and let's just say I can't make too much modification that includes a major changes, for example like adding library. In the current project, we're using JSP and Servlet, and some other advanced GUI that I…
Chen Li Yong
  • 5,459
  • 8
  • 58
  • 124
-1
votes
2 answers

Making HTML recognize user input tags

Hey all you awesome smart people, I need some help with user input. I am creating a basic word processor, and I need to make a certain selected area bold. The user will highlight the area with the mouse and press the button. The computer will then…
-1
votes
2 answers

Escaping characters/strings in javascript

How can I escape this string or shall I say characters '"); " ' (; '") ; to be put on this html element The $finalNote variable is equal to…
PinoyStackOverflower
  • 5,214
  • 18
  • 63
  • 126
-1
votes
1 answer

How come using mailto link with escaped characters is not recognized by yahoo mail?

I created an html page that has a mailto link. The body of the email has escaped characters (\', \", \n, \r) none of which seem to be recognized by Yahoo Mail (when yahoo mail is set to my default email). The mailto link parses the copy in the body…
-1
votes
4 answers

MySQL isn't alowing me to have '<' or '>' as a value

I am trying to read in text from a text box and store it into my database. Security of my database is at first priority and special characters are second. At the moment users can use basic special characters (!@#...ect) but not greater than or…
Sari Rahal
  • 1,897
  • 2
  • 32
  • 53
-2
votes
1 answer

How to insert text with apostrophe and other special characters in PHP "echo"?

I can only paste the text as it is (I can add some function around the text however before echoing it) between the echo ''; apostrophes - how can I insert the text in a way that it does not break the code? Thanks! EDIT: Snippet from the code: else…
Allar
  • 85
  • 9
-2
votes
1 answer

How to convert html attribute code to string

I have this js code: var my_elem = document.querySelector("[action='/cart/add']"); but I need to make it a string, so I can use it as a string variable. How I can do that? I already tried: 'var my_elem =…
Aleks Per
  • 1,549
  • 7
  • 33
  • 68
-2
votes
4 answers

Escaping in JavaScript

How do I make this work? Jack's Birthday
-2
votes
1 answer

what changes should be done to the string ""abcd"" (all double quotes should be preserved) in order to match the regular expression \"([^\"]*)\"

The Regular expression \"([^\"]*)\" is matching the string ""abcd"" as "" "" . What changes(I mean adding escape characters to the string) should be done to the string such that regular expression should match with ""abcd"" Sorry if it is an…
VSanka
  • 85
  • 2
  • 9
-2
votes
2 answers

How to remove HTML escape sequence characters from the string in PHP?

Suppose, I've a following string variable containing such kind of string. $sample_String = "Dummy User graded your comment \"\r\n\t\t\t\t\tdoc_ck.docx\r\n\t\t\t\t\tDownload\r\n\t\t\t\t\t\" that you posted."; Now I don't want these HTML characters…
PHPLover
  • 1
  • 51
  • 158
  • 311
-2
votes
2 answers

mysql_real_escape_string($text) is not working on live server

I am using this mysql command to remove extra character from string. Command is below mysql_real_escape_string($text); The above command is working completely in local server but it is not working on live server, it gives error like "mysql…
-2
votes
2 answers

escaping/stripping html tags in internet explorer

I have implemented a template (in html and php), by which I can edit the text in some (inputs and textareas). After I have editet the text, I store it in mysql database and I can call this template later. Now when I call this text, which I have…
user1167753
  • 705
  • 3
  • 7
  • 15
-3
votes
2 answers

How to caculate the number of all elements including escape sequences in a string?

I have a string, and I have to count all elements in this string. str = '\r\n\r\n\r\n \r\n \xa0\xa0\r\nIntroduction\r\n\r\n\r\nHello\r\n\r\nWorld\r\nProblems...\r\nHow to calculate numbers...\r\nConclusion\r\n\r\n\r\n\xa0\r\n\r\nHello world.' These…
J.H
  • 15
  • 1
  • 5
1 2 3
25
26