There have been a number of times when you want to add a url in javascript but the format is wrong.In such cases the format error occurs because of the symbols/numeric characters used in javascript instead of normal characters.In this article here is a complete list of such characters and their symbols used in html and javascript.I hope it will help you a lot...
chr | HexCode | Numeric | HTML entity | Description | ||
---|---|---|---|---|---|---|
" | \x22 | " | " |
%22 | %22 | quotation mark |
& | \x26 | & | & |
%26 | & | ampersand |
< | \x3C | < | < |
%3C | %3C | less-than sign |
> | \x3E | > | > |
%3E | %3E | greater-than sign |
\xA0 |   | |
%A0 | %C2%A0 | non-breaking space | |
¡ | \xA1 | ¡ | ¡ |
%A1 | %C2%A1 | inverted exclamation mark |
¢ | \xA2 | ¢ | ¢ |
%A2 | %C2%A2 | cent sign |
£ | \xA3 | £ | £ |
%A3 | %C2%A3 | pound sign |
¤ | \xA4 | ¤ | ¤ |
%A4 | %C2%A4 | currency sign |
¥ | \xA5 | ¥ | ¥ |
%A5 | %C2%A5 | yen sign = yuan sign |
¦ | \xA6 | ¦ | ¦ |
%A6 | %C2%A6 | broken vertical bar |
§ | \xA7 | § | § |
%A7 | %C2%A7 | section sign |
¨ | \xA8 | ¨ | ¨ |
%A8 | %C2%A8 | diaeresis = spacing diaeresis |
© | \xA9 | © | © |
%A9 | %C2%A9 | copyright sign |
ª | \xAA | ª | ª |
%AA | %C2%AA | feminine ordinal indicator |
« | \xAB | « | « |
%AB | %C2%AB | left-pointing double angle quotation mark = left pointing guillemet |
¬ | \xAC | ¬ | ¬ |
%AC | %C2%AC | not sign |
| \xAD | ­ | ­ |
%AD | %C2%AD | soft hyphen = discretionary hyphen |
® | \xAE | ® | ® |
%AE | %C2%AE | registered sign = registered trademark sign |
¯ | \xAF | ¯ | ¯ |
%AF | %C2%AF | macron = spacing macron = overline = APL overbar |
° | \xB0 | ° | ° |
%B0 | %C2%B0 | degree sign |
± | \xB1 | ± | ± |
%B1 | %C2%B1 | plus-minus sign = plus-or-minus sign |
² | \xB2 | ² | ² |
%B2 | %C2%B2 | superscript two = superscript digit two = squared |
³ | \xB3 | ³ | ³ |
%B3 | %C2%B3 | superscript three = superscript digit three = cubed |
´ | \xB4 | ´ | ´ |
%B4 | %C2%B4 | acute accent = spacing acute |
µ | \xB5 | µ | µ |
%B5 | %C2%B5 | micro sign |
¶ | \xB6 | ¶ | ¶ |
%B6 | %C2%B6 | pilcrow sign = paragraph sign |
· | \xB7 | · | · |
%B7 | %C2%B7 | middle dot = Georgian comma = Greek middle dot |
¸ | \xB8 | ¸ | ¸ |
%B8 | %C2%B8 | cedilla = spacing cedilla |
¹ | \xB9 | ¹ | ¹ |
%B9 | %C2%B9 | superscript one = superscript digit one |
º | \xBA | º | º |
%BA | %C2%BA | masculine ordinal indicator |
» | \xBB | » | » |
%BB | %C2%BB | right-pointing double angle quotation mark = right pointing guillemet |
¼ | \xBC | ¼ | ¼ |
%BC | %C2%BC | vulgar fraction one quarter = fraction one quarter |
½ | \xBD | ½ | ½ |
%BD | %C2%BD | vulgar fraction one half = fraction one half |
¾ | \xBE | ¾ | ¾ |
%BE | %C2%BE | vulgar fraction three quarters = fraction three quarters |
¿ | \xBF | ¿ | ¿ |
%BF | %C2%BF | inverted question mark = turned question mark |
× | \xD7 | × | × |
%D7 | %C3%97 | multiplication sign |
÷ | \xF7 | ÷ | ÷ |
%F7 | %C3%B7 | division sign |
ƒ | \u0192 | ƒ | ƒ |
%u0192 | %C6%92 | latin small f with hook = function = florin |
ˆ | \u02C6 | ˆ | ˆ |
%u02C6 | %CB%86 | modifier letter circumflex accent |
˜ | \u02DC | ˜ | ˜ |
%u02DC | %CB%9C | small tilde |
\u2002 |   |   |
%u2002 | %E2%80%82 | en space | |
\u2003 |   |   |
%u2003 | %E2%80%83 | em space | |
\u2009 |   |   |
%u2009 | %E2%80%89 | thin space | |
| \u200C | ‌ | ‌ |
%u200C | %E2%80%8C | zero width non-joiner |
| \u200D | ‍ | ‍ |
%u200D | %E2%80%8D | zero width joiner |
| \u200E | ‎ | ‎ |
%u200E | %E2%80%8E | left-to-right mark |
| \u200F | ‏ | ‏ |
%u200F | %E2%80%8F | right-to-left mark |
– | \u2013 | – | – |
%u2013 | %E2%80%93 | en dash |
— | \u2014 | — | — |
%u2014 | %E2%80%94 | em dash |
‘ | \u2018 | ‘ | ‘ |
%u2018 | %E2%80%98 | left single quotation mark |
’ | \u2019 | ’ | ’ |
%u2019 | %E2%80%99 | right single quotation mark |
‚ | \u201A | ‚ | ‚ |
%u201A | %E2%80%9A | single low-9 quotation mark |
“ | \u201C | “ | “ |
%u201C | %E2%80%9C | left double quotation mark |
” | \u201D | ” | ” |
%u201D | %E2%80%9D | right double quotation mark |
„ | \u201E | „ | „ |
%u201E | %E2%80%9E | double low-9 quotation mark |
† | \u2020 | † | † |
%u2020 | %E2%80%A0 | dagger |
‡ | \u2021 | ‡ | ‡ |
%u2021 | %E2%80%A1 | double dagger |
• | \u2022 | • | • |
%u2022 | %E2%80%A2 | bullet = black small circle |
… | \u2026 | … | … |
%u2026 | %E2%80%A6 | horizontal ellipsis = three dot leader |
‰ | \u2030 | ‰ | ‰ |
%u2030 | %E2%80%B0 | per mille sign |
′ | \u2032 | ′ | ′ |
%u2032 | %E2%80%B2 | prime = minutes = feet |
″ | \u2033 | ″ | ″ |
%u2033 | %E2%80%B3 | double prime = seconds = inches |
‹ | \u2039 | ‹ | ‹ |
%u2039 | %E2%80%B9 | single left-pointing angle quotation mark |
› | \u203A | › | › |
%u203A | %E2%80%BA | single right-pointing angle quotation mark |
‾ | \u203E | ‾ | ‾ |
%u203E | %E2%80%BE | overline = spacing overscore |
⁄ | \u2044 | ⁄ | ⁄ |
%u2044 | %E2%81%84 | fraction slash |
€ | \u20AC | € | € |
%u20AC | %E2%82%AC | euro sign |
ℑ | \u2111 | ℑ |
ℑ | %u2111 | %E2%84%91 | blackletter capital I = imaginary part |
ℓ | \u2113 | ℓ | |
%u2113 | %E2%84%93 | script small L |
№ | \u2116 | № | |
%u2116 | %E2%84%96 | numero sign |
℘ | \u2118 | ℘ |
℘ | %u2118 | %E2%84%98 | script capital P = power set = Weierstrass p |
ℜ | \u211C | ℜ |
ℜ | %u211C | %E2%84%9C | blackletter capital R = real part symbol |
™ | \u2122 | ™ | ™ |
%u2122 | %E2%84%A2 | trademark sign |
ℵ | \u2135 | ℵ |
ℵ | %u2135 | %E2%84%B5 | alef symbol = first transfinite cardinal |
← | \u2190 | ← | ← |
%u2190 | %E2%86%90 | leftwards arrow |
↑ | \u2191 | ↑ | ↑ |
%u2191 | %E2%86%91 | upwards arrow |
→ | \u2192 | → | → |
%u2192 | %E2%86%92 | rightwards arrow |
↓ | \u2193 | ↓ | ↓ |
%u2193 | %E2%86%93 | downwards arrow |
↔ | \u2194 | ↔ | ↔ |
%u2194 | %E2%86%94 | left right arrow |
↵ | \u21B5 | ↵ | ↵ |
%u21B5 | %E2%86%B5 | downwards arrow with corner leftwards = carriage return |
⇐ | \u21D0 | ⇐ | ⇐ |
%u21D0 | %E2%87%90 | leftwards double arrow |
⇑ | \u21D1 | ⇑ | ⇑ |
%u21D1 | %E2%87%91 | upwards double arrow |
⇒ | \u21D2 | ⇒ | ⇒ |
%u21D2 | %E2%87%92 | rightwards double arrow |
⇓ | \u21D3 | ⇓ | ⇓ |
%u21D3 | %E2%87%93 | downwards double arrow |
⇔ | \u21D4 | ⇔ | ⇔ |
%u21D4 | %E2%87%94 | left right double arrow |
∀ | \u2200 | ∀ | ∀ |
%u2200 | %E2%88%80 | for all |
∂ | \u2202 | ∂ | ∂ |
%u2202 | %E2%88%82 | partial differential |
∃ | \u2203 | ∃ | ∃ |
%u2203 | %E2%88%83 | there exists |
∅ | \u2205 | ∅ | ∅ |
%u2205 | %E2%88%85 | empty set = null set = diameter |
∇ | \u2207 | ∇ | ∇ |
%u2207 | %E2%88%87 | nabla = backward difference |
∈ | \u2208 | ∈ | ∈ |
%u2208 | %E2%88%88 | element of |
∉ | \u2209 | ∉ | ∉ |
%u2209 | %E2%88%89 | not an element of |
∋ | \u220B | ∋ | ∋ |
%u220B | %E2%88%8B | contains as member |
∏ | \u220F | ∏ | ∏ |
%u220F | %E2%88%8F | n-ary product = product sign |
∑ | \u2211 | ∑ | ∑ |
%u2211 | %E2%88%91 | n-ary sumation |
− | \u2212 | − | − |
%u2212 | %E2%88%92 | minus sign |
∗ | \u2217 | ∗ | ∗ |
%u2217 | %E2%88%97 | asterisk operator |
√ | \u221A | √ | √ |
%u221A | %E2%88%9A | square root = radical sign |
∝ | \u221D | ∝ | ∝ |
%u221D | %E2%88%9D | proportional to |
∞ | \u221E | ∞ | ∞ |
%u221E | %E2%88%9E | infinity |
∠ | \u2220 | ∠ | ∠ |
%u2220 | %E2%88%A0 | angle |
∧ | \u2227 | ∧ | ∧ |
%u2227 | %E2%88%A7 | logical and = wedge |
∨ | \u2228 | ∨ | ∨ |
%u2228 | %E2%88%A8 | logical or = vee |
∩ | \u2229 | ∩ | ∩ |
%u2229 | %E2%88%A9 | intersection = cap |
∪ | \u222A | ∪ | ∪ |
%u222A | %E2%88%AA | union = cup |
∫ | \u222B | ∫ | ∫ |
%u222B | %E2%88%AB | integral |
∴ | \u2234 | ∴ | ∴ |
%u2234 | %E2%88%B4 | therefore |
∼ | \u223C | ∼ | ∼ |
%u223C | %E2%88%BC | tilde operator = varies with = similar to |
≅ | \u2245 | ≅ | ≅ |
%u2245 | %E2%89%85 | approximately equal to |
≈ | \u2248 | ≈ | ≈ |
%u2248 | %E2%89%88 | almost equal to = asymptotic to |
≠ | \u2260 | ≠ | ≠ |
%u2260 | %E2%89%A0 | not equal to |
≡ | \u2261 | ≡ | ≡ |
%u2261 | %E2%89%A1 | identical to |
≤ | \u2264 | ≤ | ≤ |
%u2264 | %E2%89%A4 | less-than or equal to |
≥ | \u2265 | ≥ | ≥ |
%u2265 | %E2%89%A5 | greater-than or equal to |
⊂ | \u2282 | ⊂ | ⊂ |
%u2282 | %E2%8A%82 | subset of |
⊃ | \u2283 | ⊃ | ⊃ |
%u2283 | %E2%8A%83 | superset of |
⊄ | \u2284 | ⊄ | ⊄ |
%u2284 | %E2%8A%84 | not a subset of |
⊆ | \u2286 | ⊆ | ⊆ |
%u2286 | %E2%8A%86 | subset of or equal to |
⊇ | \u2287 | ⊇ | ⊇ |
%u2287 | %E2%8A%87 | superset of or equal to |
⊕ | \u2295 | ⊕ | ⊕ |
%u2295 | %E2%8A%95 | circled plus = direct sum |
⊗ | \u2297 | ⊗ | ⊗ |
%u2297 | %E2%8A%97 | circled times = vector product |
⊥ | \u22A5 | ⊥ | ⊥ |
%u22A5 | %E2%8A%A5 | up tack = orthogonal to = perpendicular |
⋅ | \u22C5 | ⋅ | ⋅ |
%u22C5 | %E2%8B%85 | dot operator |
⌈ | \u2308 | ⌈ |
⌈ | %u2308 | %E2%8C%88 | left ceiling = apl upstile |
⌉ | \u2309 | ⌉ |
⌉ | %u2309 | %E2%8C%89 | right ceiling |
⌊ | \u230A | ⌊ |
⌊ | %u230A | %E2%8C%8A | left floor = apl downstile |
⌋ | \u230B | ⌋ |
⌋ | %u230B | %E2%8C%8B | right floor |
〈 | \u2329 | 〈 |
⟨ | %u2329 | %E2%8C%A9 | left-pointing angle bracket = bra |
〉 | \u232A | 〉 |
⟩ | %u232A | %E2%8C%AA | right-pointing angle bracket = ket |
◊ | \u25CA | ◊ | ◊ |
%u25CA | %E2%97%8A | lozenge |
♠ | \u2660 | ♠ | ♠ |
%u2660 | %E2%99%A0 | black spade suit |
♣ | \u2663 | ♣ | ♣ |
%u2663 | %E2%99%A3 | black club suit = shamrock |
♥ | \u2665 | ♥ | ♥ |
%u2665 | %E2%99%A5 | black heart suit = valentine |
♦ | \u2666 | ♦ | ♦ |
%u2666 | %E2%99%A6 | black diamond suit |
Comments
Post a Comment
Comment on articles for more info.