473,769 Members | 7,650 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

That long line, – or — or ...

I don't know the English word, but I'm referring to the double-dash
which is used to separate parts of a sentence. I'm using — so far.
Now I saw – which is slightly shorter. Some sites use --.

Is there anything I should know to make a good decision on which to use,
other than what looks best? I think the W3C validator is always handing
out errors, even when I go through the different charsets.

I remember a time when the W3C validator would validate my sites even
though it warned me about the charset... these days, it refuses to do
anything. I don't really control the HTTP charset send in the header.
And I never use meta definitions...
Jul 20 '05
19 33098
On Thu, 14 Aug 2003, Philipp Lenssen wrote:
OK. Now what's the German version of Em-Dash as described by you --
"used e.g. to make a break in the flow of a sentence"?
Traditionally, Continental typography uses only the en-dash, with or
without spaces on both sides. An en-dash with spaces on both sides
is equivalent to the American em-dash without spaces.
Because I just
gave some alternatives to my team and they preferred the medium-long
version (En-Dash). But it's not used to indicate a range of values.
Yes it is. You write e.g. 128-255 (128 to 255) with an en-dash.
On a side-note, is it really wrong to use Em-Dash with spacing left and
right?


Yes.

Have a look at http://webdesign.crissov.de/Typografie/

Jul 20 '05 #11
On Thu, 14 Aug 2003, Jukka K. Korpela wrote:
The official-looking
http://www.neue-rechtschreibung.de/r...rk_zeichen.htm
There's nothing "official" with this site.
They even have, for their page that specifically
describes the norms for German orthography, a title element that
grossly violates that orthography:
<title>deutsc he rechtschreibung </title>


Under #520, I read
Man setzt ein Apostroph
But correct is
Man setzt einen Apostroph

Jul 20 '05 #12
In article <Pine.GSO.4.44. 0308141434010.4 339-100000@s5b004>,
nh******@rrzn-user.uni-hannover.de says...
On Thu, 14 Aug 2003, Philipp Lenssen wrote:
(...)
Because I just
gave some alternatives to my team and they preferred the medium-long
version (En-Dash). But it's not used to indicate a range of values.


Yes it is. You write e.g. 128-255 (128 to 255) with an en-dash.


You misunderstood me. I was referring to where the character (En-Dash)
is used within the site we're doing. And it's not used to indicate a
range of values, but to separate two parts of a sentence (the German
Gedankenstrich) .

So now I'm left with some questions:

- Which is the right meta-tag to include in my header, in case I can't
fully administrate the server,
- What would I tell the administrator to do,
- On my own Apache server, can I do it myself (I don't fully
administrate it, but I can place my htaccess files),
- What tool allows me to check which character set is being send, and
also lets me know if no character set information was included in the
HTTP header (I suppose I can do this with a browser)?
Jul 20 '05 #13
In article <MP************ ************@Ne ws.Individual.D E>,
ph************* @bb-k.com says...
(...)
So now I'm left with some questions:

- Which is the right meta-tag to include in my header, in case I can't
fully administrate the server,
- What would I tell the administrator to do,
- On my own Apache server, can I do it myself (I don't fully
administrate it, but I can place my htaccess files),
- What tool allows me to check which character set is being send, and
also lets me know if no character set information was included in the
HTTP header (I suppose I can do this with a browser)?


Actually, two more questions:

- I'd prefer to use &ndash;, or isn't that as good as using –?
- On some pages I would change, the doctype is XHTML1 (Strict), I
suppose the issue is all the same?
Jul 20 '05 #14
Philipp Lenssen <ph************ *@bb-k.com> wrote:
- I'd prefer to use &ndash;, or isn't that as good as using –?
Netscape 4.x will understand – but not &ndash; .
- On some pages I would change, the doctype is XHTML1 (Strict), I
suppose the issue is all the same?


Doesn't matter.
Jul 20 '05 #15
Philipp Lenssen <ph************ *@bb-k.com> wrote:
- Which is the right meta-tag to include in my header, in case I can't
fully administrate the server,
From the previous discussion, I assume you mean to set the encoding
("charset") of your pages.
- What would I tell the administrator to do,
- On my own Apache server, can I do it myself (I don't fully
administrate it, but I can place my htaccess files),
You have been pointed to http://www.w3.org/International/O-HTTP-charset
already in this thread.
- What tool allows me to check which character set is being send, and
also lets me know if no character set information was included in the
HTTP header (I suppose I can do this with a browser)?


You should consult http://validator.w3.org/ anyway and it will tell you
about the encoding, too.

--
Top posting.
What's the most irritating thing on Usenet?
Jul 20 '05 #16
In article <MP************ ************@Ne ws.Individual.D E> in
comp.infosystem s.www.authoring.html, Philipp Lenssen
<ph************ *@bb-k.com> wrote:
OK. Now what's the German version of Em-Dash as described by you --
"used e.g. to make a break in the flow of a sentence"? Because I just
gave some alternatives to my team and they preferred the medium-long
version (En-Dash). But it's not used to indicate a range of values.
You might get a different answer if you used a different font.

But, with respect, I think what anyone "prefers" isn't really the
issue when you're writing in English. There are rules, and they
should be followed or your work will look amateurish. (Are you
publishing your Web site in English. I'll assume you are, but if
you're publishing it in German then the rest of this article does
not apply!)

One rule, for instance, is that you make a break in a sentence with
an em dash or (on a typewriter) two consecutive hyphens. I'm sorry,
but an en dash is really not correct for this in English, even if it
may be in German.

Another rule is that a range of values is indicated with an en dash.
"J.S. Bach, 1685-1750" should have an en dash, not a hyphen. On a
typewriter, the en dash is represented by a single hyphen.
The old site is actually using a single dash for the purpose of breaking
a sentence. It looks really wrong to me.
I don't know what you mean by "a single dash". If you mean a single
_hyphen_, character 45, the it doesn't just look wrong, it _is_
wrong. A single en dash is also wrong. But if you mean a single em
dash, it's right.
On a side-note, is it really wrong to use Em-Dash with spacing left and
right? 'Cause that's what I do so far.


This is more a matter of publishers' "house style" than an agreed
rule. Some publishers use thin spaces, others use regular spaces,
others use no space at all. (Older books used other punctuation
adjacent to the em dash; this is no longer considered correct.)

If you do use spaces, you probably want to do something like this:
the one thing&nbsp;— the only thing&nbsp;— is
That way your line can break after an em dash but not before it.
(Are there any browsers smart enough to break after the em dash but
not before, in something like
the one thing—the only thing—is
where there are no spaces around the em dashes?)

Spaces are not usually written around the en dash.

Suggestion: If it's a matter of rules of English punctuation, as
opposed to how to represent punctuation in HTML, then
alt.usage.engli sh is probably a better newsgroup. I'm _not_
crossposting this because maybe I've misinterpreted everything and
you're actually talking about German punctuation -- in which case
you probably haven't read this far. :-)

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #17
On Fri, 15 Aug 2003, Stan Brown wrote:
Like the business of ." and ". it seems -- in the US the period must
come inside the quotes, but UK practice is not so rigid.


Fowler's MEU 2nd edition ed. Gowers (dunno whether this was from the
original or from the editor of the 2nd edition) categorises two
distinct rule sets, the "convention al" and the "logical". The
"convention al" one corresponds to US usage.

UK practice is "much debated", but saying that it is "not so rigid"
would be misleading, since each school of thought is pretty rigid in
its position ;-}

The conventional one was AIUI developed because of physical
limitations of hot type.

The logical one seems to have much to commend it when no such
limitations supervene.

In the treatment of question and exclamation marks, MEU2 concludes
that the illogicality of the conventional approach is exposed, and
concludes that authors from both schools of thought therefore follow
the logical ordering with those marks.

Did you say "I am not my brother's keeper"?
I said "am I my brother's keeper?"

and so on.
Jul 20 '05 #18
In article <Xn************ *************** **@193.229.0.31 >,
"Jukka K. Korpela" <jk******@cs.tu t.fi> wrote:
I know that for Finnish, the official rules did not
originally make the distinction, and the current rules explicitly say
that you can choose whether you use EN DASH or EM DASH,
Those rules weren't written by typographers. They were written by
linguists whose attitude seems to have been "whatever as long as it is
not the hyphen".
which corresponds to the actual usage


But not necessarily with typographer opinion. There are a lot of
clueless actual use cases--many of which can be attibuted to the
brokenness of the default "correction s" made by Microsoft Word or to the
bad design of keyboard layouts. (Typing of the right characters on
non-Apple Finnish keyboard layouts is unnecessary hard.)

--
Henri Sivonen
hs******@iki.fi
http://www.iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html
Jul 20 '05 #19
Henri Sivonen <hs******@iki.f i> wrote:
Traditionally, Continental typography uses only the en-dash, with or
without spaces on both sides. An en-dash with spaces on both sides
is equivalent to the American em-dash without spaces.
En dashes without spaces meaning break of flow in Continental
typography?


Please read again what I wrote.
AFAIK, the common typographer opinion is:

American:
Range: en dash without spaces
Break of flow: em dash without spaces

European (including comtemporary British):
Range: en dash without spaces
Break of flow: en dash with spaces


Exactly what I wrote.
Jul 20 '05 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9372
by: Kalessin | last post by:
I'm using PHP's XML parser to validate user-entered XHTML fragments (I wrap them in a top-level element and send them through the parser). It works a treat, except for handling entities: — -- is fine, but &mdash; -- throws an error, e.g: "XML error: undefined entity at line 11, char 415" (Making an entity handler didn't help, at it fails at the parsing stage.)
2
1888
by: J_axx | last post by:
Wow I was told this is a grate place for info I did not believe um but I was wrong I have 4 ASP pages on my site & a DB for each page has a form pointing at its DB, I thought this would be the simplest way. You can add & submit data and you get the confirmation page, but I am seeing no data in my DB's. Each DB has a CHMOD of 777. Here's the link to what I am doing most of the test just read "SOME TEXT"
4
3459
by: Robert Secon | last post by:
Hi there, when using IE5+ my style sheets just work fine, but Mozilla does not agree with it and I can´t figure out which mistake it is. Usually the thing about it is that every row is displayed well but Mozilla displays the first row too big and cuts away the second row of the text. Can somebody tell me what is wrong with it and how to change the code? (HTML-Table wrapped around in php-code)
1
3451
by: Scott Zabolotzky | last post by:
I'm sure somebody has to have done this already but I can't find any good references. If I have an XML file with an associated XSD what is the best way to dynamically generate a web form with proper controls for the various elements in the XML file? I found an article that describes how to do it using stylesheets (http://www.dnzone.com/ShowDetail.asp?NewsId=151) but it's a little cumbersome and was tailored to .NET 1.1.
14
2859
by: arnuld | last post by:
i have slightly modified the programme from section 1.5.1 which takes the input frm keyboard and then prints that to the terminal. it just does not run and i am unable to understand the error message. may you tell me what is wrong and how to make that right ? ------------------------------ INPUT --------------------- #include <stdio.h> int main() {
0
1727
by: Bhavesh | last post by:
Hello genious people, I m trying to insert a LARGE text from Multiline Textbox into my table of sqlserver2000. I m using vs-2005. Please note that I dont want to store blob data From FILE TO TABLE, like storing IMAGE into DB. I hav searched lots of articles on that but didn't get success.
1
1624
by: arnuld | last post by:
PURPOSE: see comments. OUTPUT: negative integer as output even for equal strings /* A string comparison function from K&R2 * example code from section 5.4,page 106 * * returns +ve number , if 1st string is greater than 2nd * return -ve number, if 2nd string is greater than 1st * returns 0, if both are equal
1
4222
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being aligned to the top, along with the slideshow and link buttons, you have to scroll down to see the text - how can I make IE6 display correctly? http://geekarama.co.uk/new_home.html here is the code for new_home.html and following that the CSS...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9996
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3963
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.