If you are responsible for text marked up in HTML, please learn about character entities. Of late, I’ve noticed prominent companies sloppily using two hyphens where they should be using an em dash, which is
—. This is particularly irritating when the text comes from a company that purports to know about design.
An Atlantic post discussing future mobile technology. The Atlantic is not a design publication, but surely they have people on staff who care about typography:
If you really want to get fancy, the double hyphens can be replaced with an em dash with thin spaces (
) on either side. The difference between a standard space and thin space is subtle, but it is noticeable in Safari, Firefox, and Opera.
Like many things in typography, there is variation in the use of dashes, but no respectable typographer thinks two hyphens are the way to go. I should figure out how to insert thin spaces around em dashes in my existing posts…
Another common web typography problem is quotation marks. Setting up a regex to enclose quotes properly using
” might be trickier, but it should also be done.
Apple gets these details right. See the press releases for the latest announcements.