Symbols in email newsletters and websites

Click here to download a two-page entity code wall chart

Download Email BrochureWhen you send email newsletters to a wide variety of people, you cannot be sure exactly how your design is going to look in their email software. There are many pitfalls to do with screen size, inbox orientation, layout, colours, backgrounds, fonts and symbols because what works in your email package during testing might not work in a different email package or on a different computer exactly the same. This article focuses on entity codes, the solution to avoiding strange characters like upside down question marks or even more bizarre characters like these ones:

Symbols gone wrong in an email newsletter

When HTML was first designed in the 1990s, it was limited to those characters in the range of seven-bit ASCII, a telegraphic language used since 1960. This means that in order to get certain non-ASCII characters to work on different computers and different browsers, we must use entity codes in the HTML instead of simply typing or copying and pasting the symbols. Some WYSIWIG applications like Adobe Dreamweaver, will automatically convert typed or pasted symbols into the correct HTML symbol codes, if you set them up to do so, but you should always be aware of this issue and check the HTML code yourself.

If you are using a web-based email marketing package, you will probably need to ensure your symbols are entered in the HTML code using entity codes. Entity codes (also known as character entity references) take the format &label; where "label" is a case-sensitive alphanumeric string. For example, the character "ä" can be encoded as &auml; in an HTML 4 document. Characters <, >, " and & are used to delimit tags, attribute values, and character references. Character entity references &lt;, &gt;, &quot; and &amp;, which are predefined in HTML, XML, and SGML, can be used instead for literal representations of the characters.

The most useful entity codes for email blasts

Dashes

Name Description Entity Code Example
N dash en-dash is used instead of the word ‘to’ &ndash; (150 or 8211)
M dash em-dash is used for a pause or break in a sentence or heading &mdash; (151 or 8212)

Quotes

Name Description Entity Code Example
Left single Left single curly quote mark (opening quote) &lsquo; (145 or 8216)
Right single Right single curly quote mark or curly apostrophe (closing quote) &rsquo; (146 or 8217)
Left double Left double curly quote mark (opening quotes) &ldquo; (147 or 8220)
Right double Right double curly quote mark (closing quotes) &rdquo; (148 or 8221)
Straight double Straight double quote mark &quot; "
Single bottom European single bottom quote &sbquo; (8218)
Double bottom European bottom quote &bdquo; (8222)

You might be wondering when to use curly and when to use straight quote marks. Rest assured this is a dilemma faced not only by email marketers and web designers, but by graphic designers and typesetters (text focused layout) as well. Generally speaking, curly quotes look more attractive and professional than straight quotes and enhance the readability of the text. This is because of how clear it is what letters they apply to. Which of the following two blocks is easier to read?

"I would really like to buy this 'Copywriting for email newsletters e-book'," said Sammy, who was reading a copy of the 'Dialog Times'. "They say it's "easy as 1-2-3!"."

OR

“I would really like to buy this ‘Copywriting for email newsletters e-book’,” said Sammy, who was reading a copy of the ‘Dialog Times’. “They say it’s “easy as 1-2-3!”.”

If you still prefer the arguably “cleaner” look of straight quotes, choose what is best for you and be consistent.

Other Punctuation

Name Description Entity Code Example
Ampersand Ampersand &amp; (38) &
Space Inserts a non-breaking blank space (en space). This is the way to put multiples spaces in a row in HTML. &nbsp; (32)  
Registered trademark Registered symbol &reg; (174) ®
Copyrighted Copyright symbol &copy; (169) ©
Trademark Trademark symbol &trade; (153 or 8482)
Large bullet symbol Big (Bullet) List Dot &bull; (149 or 8226)
Middle bullet symbol Medium (Middle) List Dot &middot; (183) ·

Letters with accents (foreign symbols)

Name Description Entity Code Examples
Grave A tiny backwards slash looking character on top of the letter A, E, I, O or U * &Agrave; À  à   È  è
Acute A tiny forward slash looking character on top of the letter A, E, I, O, U or Y &Aacute; Á   á   É   é
Circumflex A little hat or triangle on top of the letter A, E, I, O or U &Acirc; Â   â   Ê   ê
Tilde A squiggly line on top of the letter A, N or O &Atilde; Ã   ã   Ñ   ñ
Umlaut Two little dots on top of the letter A, E, I, O, U or Y1 &auml; Ä   ä   Ë   ë

* In the above you can replace the “A” in the entity code with another character (eg. upper or lower case) in order to get the accent on your desired character.

1. Netscape 4.7 does not support the code &Yuml; but the numeric version (&#159;) works.

Foreign characters (foreign entity codes)

Name Description Entity Code Example
Upside down ! Upside-down exclamation point. &iexcl; (161) ¡
Upside down ? Upside-down question mark. &iquest; (191) ¿
Cedille French C cedille (caps/lowercase) &Ccedil; (199)
&ccedil; (231)
Ç, ç
O-E ligature French O-E ligature (caps/lowercase) &OElig; (140 or 338)
&oelig; (156 or 339)
Œ, œ
Ordinals Masculine & feminine ordinal number
(Spanish/Italian/Portuguese)
&ordm; (186)
&ordf; (170)
º, ª
Double S German double S &szlig; (223) ß
Slashed O O slash (caps/lowercase) &Oslash; (216)
&oslash; (248)
Ø, ø
Angstrom A ring, Angstrom sign (caps/lowercase) &Aring; (197)
&aring; (229)
Å, å
A-E ligature A-E ligature (caps/lowercase) &AElig; (198)
&aelig; (230)
Æ, æ
Thorn Old English thorn (caps/lowercase) &THORN; (222)
&thorn; (254)
Þ, þ
Double angle bracket European/Spanish style double angle quote mark. &laquo; (171)
&raquo; (187)
«, »
Single angle bracket European/Spanish style single angle quote mark. &lsaquo; (8249)
&rsaquo; (8250)
‹, ›

Currency Symbols

Name Description Entity Code Example
Cents cent sign &cent; (162) ¢
Pounds British Pound &pound; (163) £
Yen Japanese Yen &yen; (165) ¥
Euro Euro Symbol &euro; (8364)
Currency Generic currency symbol &curren; (164) ¤

XML Character References

Name Description Entity Code Example
Ampersand Shorthand for “and” &amp; &
Less than “Less than” sign &lt; <
Greater than “Greater than” sign &gt; >
Straight double Straight double quote mark &quot; "

There are only five XML character entity references because these are the characters that are used in XML (and HTML) to open and close tags, define names etc.

Click here to download a two-page entity code wall chart

 

G

Please email
Amanda@GreensladeCreations.com
or call 0403 124 533
to discuss your needs.

 

For details of all of Amanda's services, including how she can train your staff to maintain your website, email newsletter, image collection and more, please download this Greenslade Creations brochure.

Pricing information is available here.

Email | Layout | Writing | SEO | DAM