The Straight Dope

Go Back   Straight Dope Message Board > Main > General Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2003, 09:44 AM
Turbo Dog Turbo Dog is offline
Guest
 
Join Date: Feb 2001
What does &mdash mean??

It started showing up all over the place not too long ago, and I'm too dumb to figure it out. It doesn't make any sense to me. Is it geekspeak for etc? What?
Reply With Quote
Advertisements  
  #2  
Old 10-25-2003, 09:53 AM
sailor sailor is offline
Guest
 
Join Date: Mar 2000
Seems like the html code for m-dash which a longer dash than your standard - dash.
Reply With Quote
  #3  
Old 10-25-2003, 09:55 AM
Johnny L.A. Johnny L.A. is offline
Charter Member
 
Join Date: Jan 2000
Location: NoWA
Posts: 48,409
Are you using Netscape? I usually use Netscape 4.7, and I see it a lot. I don't see &mdash when I use Explorer. I think "&mdash" is just a dash (-), and that for some reason the browswer doesn't recognize the character properly. (Could be another symbol, but I'm pretty sure it's a dash.)

FWIW, you can use symbols such as hearts on SDMB, but you need to be using Explorer to see them. (I don't see them when I use Netscape.)
Reply With Quote
  #4  
Old 10-25-2003, 09:56 AM
Johnny L.A. Johnny L.A. is offline
Charter Member
 
Join Date: Jan 2000
Location: NoWA
Posts: 48,409
Or it's a longer dash -- such as the double-dash I've just used -- as sailor says.
Reply With Quote
  #5  
Old 10-25-2003, 09:57 AM
Liberal Liberal is offline
Guest
 
Join Date: Nov 1999


Alt + 0151
Reply With Quote
  #6  
Old 10-25-2003, 10:01 AM
Turbo Dog Turbo Dog is offline
Guest
 
Join Date: Feb 2001
Usually I use Netscape. I had an initial feeling that it was some type of coding thing, but it seems weird to me that I haven't seen it until about two months ago. Is it a new code? I never saw it and then suddenly it is showing up all over the place.
Reply With Quote
  #7  
Old 10-25-2003, 10:07 AM
Turbo Dog Turbo Dog is offline
Guest
 
Join Date: Feb 2001
Also, I see it occasionally in MS Word documents. I think that is what is confusing me.
Reply With Quote
  #8  
Old 10-25-2003, 10:39 AM
Derleth Derleth is offline
Guest
 
Join Date: Apr 2000
—

I can see the above code correctly, and I'm currently using Opera on Windows ME. My character encoding is US ASCII.

And, yes, it is a seperate glyph from the en-dash (-). It has a distinct encoding on the extended character set. It is not in ASCII, really, but US ASCII is apparently an ASCII extension which includes it. ASCII only includes the en-dash.

If you do not see an em-dash (what the long dash is called) as the long dash, your browser or your character encoding is inadequate. (If you see it as —, your browser is not parsing the code. If you see a character other than a long dash, your encoding is off.)

To type it into your post in a portable way, type —.

(To type what I typed above, type —.)
__________________
"Ridicule is the only weapon that can be used against unintelligible propositions. Ideas must be distinct before reason can act upon them."
If you don't stop to analyze the snot spray, you are missing that which is best in life. - Miller
I'm not sure why this is, but I actually find this idea grosser than cannibalism. - Excalibre, after reading one of my surefire million-seller business plans.
Reply With Quote
  #9  
Old 10-25-2003, 10:45 AM
Cleophus Cleophus is offline
Guest
 
Join Date: Jul 2000
By default, Word converts a "--" to a &mdash.
Reply With Quote
  #10  
Old 10-25-2003, 11:41 AM
Redsland Redsland is offline
Guest
 
Join Date: Feb 2001
If you are asking about the purpose of the em-dash, it is used as a long pause in a sentence, or to set off parenthetical material (e.g., no one believed him--he always lied).

Its shorter cousin, the en-dash, is used to separate the two numbers or words that define a range (e.g., 6-9 p.m.).

The even shorter hyphen (erroneously seen above) is used to connect multi-word modifiers and the occasional prefix, or to separate a word at the end of a line of type.
Reply With Quote
  #11  
Old 10-25-2003, 01:42 PM
VernWinterbottom VernWinterbottom is offline
Guest
 
Join Date: Aug 2003
And if you're wondering about the origin of the term em-dash and en-dash, it dates to the days when metal type was hand set using individual characters. the capital M, or em, was the widest piece of type. Its printing surface was roughly square. An em-space was a blank piece of type as wide as an em. An em-dash was a dash as wide as an em. An en was half the width of an em.
Reply With Quote
  #12  
Old 10-25-2003, 02:06 PM
Mister Rik Mister Rik is offline
Charter Member
 
Join Date: Jun 2003
Location: The bunghole of WA
Posts: 10,482
The reason you're actually seeing the coding "&mdash" instead of seeing an actual em-dash is because the proper coding should be "&emdash" (note the "e" in there). Since "&mdash" is improper, the browser doesn't know what it is and so shows the code.

It's kind of like when an HTML page has a closing tag, but the opening tag is missing. You'll see the < /b > displayed on the page.
Reply With Quote
  #13  
Old 10-25-2003, 02:08 PM
Mister Rik Mister Rik is offline
Charter Member
 
Join Date: Jun 2003
Location: The bunghole of WA
Posts: 10,482
Okay, now I look like an idiot.
Reply With Quote
  #14  
Old 10-25-2003, 08:10 PM
11811 11811 is offline
Guest
 
Join Date: Nov 2000
The en dash is also used in place of a hyphen when a word requires more than one hyphen.

In the phrase "Pro-sports-oriented coverage" the second hyphen would be replaced with an en dash. The idea is that the two portions most commonly joined with a hyphen retain the hyphen, while the least commonly joined portion is attached with an en dash.

11811
Reply With Quote
  #15  
Old 10-25-2003, 11:10 PM
Wikkit Wikkit is offline
Guest
 
Join Date: Dec 2001
Quote:
Originally posted by VernWinterbottom
And if you're wondering about the origin of the term em-dash and en-dash, it dates to the days when metal type was hand set using individual characters. the capital M, or em, was the widest piece of type. Its printing surface was roughly square. An em-space was a blank piece of type as wide as an em. An em-dash was a dash as wide as an em. An en was half the width of an em.
Which is also why they should be called m-dash and n-dash. em and en is almost as dumb as calling something a wye adapter, when it's shaped like the letter Y.
Reply With Quote
  #16  
Old 10-26-2003, 12:12 AM
Achernar Achernar is offline
Guest
 
Join Date: Aug 1999
Quote:
Originally posted by Phase42
Okay, now I look like an idiot.
Ha. Just F everybody's I, here's the official list of HTML Character Entity References. "mdash" is 13th from the very end. The old Netscape browsers (before Netscape 6) were made before this list, so I guess they have an excuse for not getting it right. But Netscape 6+ and Internet Explorer 5+ should show them all, for the most part.
Reply With Quote
  #17  
Old 10-26-2003, 12:34 AM
typhoon typhoon is offline
Guest
 
Join Date: Aug 2001
Wow, a lot of misinformation here.

Here's an actual, honest-to-god true answer: The reason Mozilla displays &amp;mdash literally is because THERE'S NO SEMI-COLON AT THE END. This means IT'S INVALID CODE. Internet Explorer will render it as the right character anyway, BUT IT'S BEHAVING INCORRECTLY.
Reply With Quote
  #18  
Old 10-26-2003, 12:42 AM
Achernar Achernar is offline
Guest
 
Join Date: Aug 1999
Nobody's talking about Mozilla. The oldfangled Netscape browser that Johnny L.A. mentioned is not based on Mozilla like Netscape 6 is. And I don't think it's just a coding error. My webpage has em dashes coded correctly, and ISTR that it shows up wrong in Netscape Navigator 4.something in Unix.
Reply With Quote
  #19  
Old 10-26-2003, 01:08 AM
Wikkit Wikkit is offline
Guest
 
Join Date: Dec 2001
Arguably, all Netscape is based on Mozilla, since Mozilla was the name of the beast that slayed NCSA Mosaic before Netscape was called Netscape.
Reply With Quote
  #20  
Old 10-26-2003, 01:19 AM
Achernar Achernar is offline
Guest
 
Join Date: Aug 1999
I stand corrected.
Reply With Quote
  #21  
Old 10-26-2003, 07:42 AM
Turbo Dog Turbo Dog is offline
Guest
 
Join Date: Feb 2001
I think I got it now. Thanks everyone!
Reply With Quote
Reply



Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:27 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Send questions for Cecil Adams to: cecil@chicagoreader.com

Send comments about this website to: webmaster@straightdope.com

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Publishers - interested in subscribing to the Straight Dope?
Write to: sdsubscriptions@chicagoreader.com.

Copyright 2013 Sun-Times Media, LLC.