HTML entity codes and server showing & instead of & - html

I'm trying to get a copyright symbol to show up and I'm using the entity code
©
Problem is it's showing up as " ©" instead of the copyright symbol. When I firebug the code it's showing ©
Is there some reason why it's making the & symbol show up as & and how to prevent this?

Wherever it is you're typing in ©, you must be typing it into a tool that's then helpfully encoding that for you (turning & into &). You haven't given us any information to work with about what tool might be doing that, so we can't help, but if you put the characters © in the actual HTML source of a page, when rendered it will come out as a copyright symbol. (Except inside the title element, but you won't see the encoded version there, so I know that's not what's going on.) This is an issue with the tools you're using.

Something is re-encoding again your sentence... this is a double HTML encoding
Try to put the character (R) right away, it will be encoded for you apparently
How does this append in your case we don't have enough details
thanks

You want your html to look something like the following:
<div>© 2011, Bob Cravens</div>

Related

Oracle Apex 5.1 Passing HTML string into Region

I'm passing a value which is a HTML unordered string from an interactive report to a new page, and wanting to add it to a static content region on another page (with HTML attribute set to 'yes').
However, it displays literally as shown in the image.
If I hard-code Hello <strong> World</strong> into the region it displays as expected.
Does anyone have a solution please?
You need to set the Escape special characters attribute in your report to Yes.
http://www.grassroots-oracle.com/2017/01/escape-special-characters-apex-demo.html
And perhaps your popup needs this, depending on how you implemented it.
&P1_TEXT!HTML.
http://roelhartman.blogspot.com.au/2014/09/apex-5-new-substitution-syntax-features.html
Extended substitution string can be used to escape special characters. Check out Oracle docs --> link for more information. Also, take security into account before implementing as output escaping is an important security technique to avoid Cross Site Scripting (XSS) attacks.

Character encoding

While Iam copying text phrase from notepad++ (phrase include spaces, copyright symbol (©), registered symbol (®) etc) to the html, after saving the html page, it is showing weird characters like  instead of space and other also.
On my html page, Iam having charset under meta tag like charset=UTF-8.
Issue is occurring while copying text from notepad++ only.
Please assist me to resolve this problem.
In HTML (as far as I know), you should always use HTML entities for representing characters like © (which is provided as ©). Here is a complete list of HTML Entities

Unwanted characters being added to url in HTML

I'm trying to include a simple hyperlink in a website:
...Engineers (IEEE) projects:
So that it ends up looking like "...Engineers (IEEE) projects:" with "IEEE" being the hyperlink.
When I click on copy link address and paste the address, instead of getting
http://www.ieee.ucla.edu/
I get
http://www.ieee.ucla.edu/%C3%A2%E2%82%AC%C5%BD
and when I click on the link, it takes me to a 404 page.
Check the link. These special character are added automatically by browser (URL Encoding).
Url Encoding
Use this code and it will work::
IEEE
The proper format to add hyperlink to a html is as follow
(texts to be hyperlink)
and for better understanding go through this link http://www.w3schools.com/html/html_links.asp
%C3%A2%E2%82%AC%C5%BD represents „ which is when you get when a unicode „ is being parsed as Windows-1252 data.
Use straight quotes to delimit attribute values in your real code. You are doing this in the code you have included in the question, but that won't have the effect you are seeing. Presumably your codes are being transformed at some point in your real code.
Add appropriate HTTP headers and <meta> data to tell the browser what encoding your file is really using

Trademark symbol is displayed as raw text

if you visit www.startwire.com you'll see in the center of the page (in the yellow box, under the video) the following:
StartWire™
in our dev and stage environments, this is not an issue, but it is in production. What could possibly be causing this?
If you look at the page source, you will see &trade; - you are double encoding the entity.
This should be simply ™.
In the HTML you have:
<h2>Sign-up now. StartWire&trade; is completely FREE.</h2>
whereas the correct would be:
<h2>Sign-up now. StartWire™ is completely FREE.</h2>
Notice the extraneous &. Look like you are double encoding something on the server.
If you check your page source it says:
&trade;
This means that probably it took ™ and transformed that into HTML. So the & becomes &. This is probably due to the use of a htmlentities() function.
Make sure you do not do this conversion twice...
A possible cause of this is that you are taking the contents from a database and that you have encoded the entries before inserting them into the database and you encode them a second time when you retrieve them from this database.
Is the content being "HTML encoded" (or whatever they call it) automatically, somewhere in the script? Because this is what appears in the HTML: &trade;.
My suggestions would be to just use the symbol in your code (™). If that doesn't work, try escaping the & of ™ using \ (so that it becomes \™).
not sure, but i have checked your site it shows like you have write like
&™
simple write ™

How we can give abcd&abcd#gmail.com in mailto in joomla article?

I have to give a email id ex. abcd&abcd#gmail.com in mail to funcion in joomla article. It is displaying well but when we click on this, it opens in outlook or any other mail other with abcd if just discard the character after &.
I am using Joomla 1.5 Editor JCE.
Use in href mailto:abc%26%40abc#gmail.com give this in text abc&abc#gmail.com
Good luck!
Try replacing the & with %26, which is basically encoding it. I think you are running into an html entity issue with the & in play.
Good luck!