Special Characters in HTML
I always need to remember the special HTML entity codes for characters. Many blogging applications re-render the characters to make them more readable but when you want to cut and paste the text it’s all wrong. The best example of this is double quotes. If I write
echo "hello world"into the article body, after rendering it comes out as:
echo “hello world”This is fine for standard text but if you are writing computer code it’s useless. Try cutting and pasting the above 2 examples into a unix command shell. You will get
hello worldinto the article body it actually comes out as
“hello world”respectively. There are thousands of web sites where they publish what all these codes are and most of them are a bit rubbish. I came across this on Steve DeGraeve’s site which is one of the better ones. I thought I’d blog it so I don’t lose it in the melee of similar pages returned by Google’s search. http://www.degraeve.com/reference/specialcharacters.php
No feedback yet
Form is loading...