Each language has its own ideas of how to punctuate, e.g. space before question marks in French. How is German punctuation different from English?
There are a lot of differences, one of the most common one could be how German handles
In English, there is no comma before that:
In German, the comma is required to give the sentence its structure:
The rule is actually really simple: in German, every relative clause is separated by a comma.
Not to forget: Punctuation in numbers! The usage of commata and dots is exactly reversed!
Notice the colon instead of a comma, and the capital at the start of the quote. There has to be a capital after every colon, if you quote use the first letter in the quote, which is
A list like
BTW: Canoo.net seems to be a very comprehensive resource for questions about grammar.
In English, you create composite words by just writing one word after the other, with a space in between:
In German, you add them without a space:
It is possible, but poor style, to create very long words like this:
As you can see, it's possible, but rarely needed and hard to read. This is done relatively often in laws, which need to be very specific. For instance, german traffic laws are regulated in the
If words get otherwise hard to read, it's possible to add hyphens where needed:
It would be legal to write that without any hyphenation. Hyphenation, in general, has become more accepted in recent years, but should still be used sparingly.
Many people wrongly separate composite words with spaces, which is very common in ads or product names, supposedly because long composites are hard to read and hyphens don't look good enough. This is wrong and very poor style, because it causes the reader to pause within the words, and sometimes even distorts meaning: "Besuchen Sie ihren Peugeot Partner" is probably meant to mean "visit your Peugeot dealership", but actually says "visit your Peugeot car, which has the model name Partner" (there actually was a car called Peugeot Partner). Reading these sentences aloud with the different meanings causes different pronunciation, just like in english: "visit your Peugeot dealer" vs. "my car is called the Peugeot Dealer".
Quotations and quotation marks
I have often seen quotations in English include the comma that separates them from the rest of the sentence:
Apparently this is an American thing. It's wrong in German:
Also note the different quotation marks in German. You can forego them and use the English style if you want to, but it won't be correct. Microsoft Word should autocorrect quotation marks into the right ones.
EDIT: I have added inline code formatting (`), which displays quotation marks correctly (at least for me).
You can set a comma if you want to guard against confusion:
Regarding commas: When our primary school teacher started to teach use comma rules, she would say: "Put a comma everywhere you breathe or pause in your sentence". I still think this is a quite useful hint.
Also be aware that after the latest reform, there are loads of optional commas. So rather put too many commas into a sentence than too few. ;-)
Big exception is "und", where you almost never put a comma in front.
Edit: just re-read your question. If you're asking for general punctuation use, I think it's quite similar to English. No extra spaces. Some example sentences:
"Hallo!", rief Hugo, als er Lisa sah. "Du schon wieder?", antwortete sie. "Ach, Lisa", erwiderte Hugo, "sei doch nicht immer so unfreundlich."
Niemals würde ich mir die Haare blond färben lassen - es sei denn, jemand bietet mir viel Geld dafür -; aber andererseits sollte man auch niemals nie sagen...? (never: sagen... ?)
Man sieht also: nach diesem Ereignis hat sich die ganze Stadt verändert - nicht nur einzelne Bürger.
Ungefähr 20% der Ware ist Ausschuss, +/-5 Stück.
Am 20. September 2012 werde ich fünzig. (also: Am 20.09.2012 oder Am 20. 09. 2012).
Die Party beginnt um 15:00 Uhr. (never 15:00Uhr!)
You asked about the differences, so I'll attempt to only cover them, but comprehensively.
German surrounds every single subordinate clause with a pair of commas, as well as stuck together main clauses if there is no conjunction. If there is one, the comma ranges from optional to required. In English, it is usually omitted.
In English, you can separate parts at the beginning of a sentence with a comma like you just saw. In German, that is forbidden unless it is a complete infinitive or a subordinate clause.
Infinitive structures are surrounded by a pair of commas, which can only be omitted in the case of a short infinitive.
I'm not sure about this one in English, but in German following direct speech a comma is placed.
Generally speaking, all German commas are required for syntactical reasons, never because you breathe at that spot. You often will breathe in places where there are no commas, but of course there are also lots of places where commas and breathing points overlap.
British English usually uses
American English uses the same shape, but usually double quotation marks
German, on the other hand, uses
Swiss German practice is different from German and Austrian practice. They use the French-style quotation marks, but the other way around
When dealing with long quotes, English will repeat quotation marks at the beginning of each paragraph. German will not.
Americans like to add any punctuation mark into the quotation marks. Germans will not, unless the punctuation can belong to the quote.
A dash in German is the en-dash –, surrounded by a pair of spaces. Apparently, English and American use the em-dash — with no space surrounding it.
The dash can also mean bis or gegen. If it means bis, the spaces are omitted.
That is, the three dots. They are used more or less like English, although English traditionally closed a sentence that ended with an ellipsis with another full stop. German does not.
A lot of Germans don't know when to add a space before the ellipsis and when not to. There is no space if and only if the word is cut off by the ellipsis (2nd example).
In the first example, a word beginning with weiter is cut off; it could be weitermachen, weitergehen or others. In the second example, the word is weiter but the sentence is left unfinished.
Other random differences
Ordinal numbers carry a trailing full stop. (5. Februar)
Most contractions in English require an apostrophe in a set position. German would only put the apostrophe between words (which would look weird in English, would'nt it? [sic!]), even if nothing is cut between the words (although this is seldom required in standard German; usually only in dialects).
Many contractions, especially those created by assimilating es and those created from preposition and article are entirely apostrophe-less:
Left out letters, even when no contraction is happening, get an apostrophe, unless they are a left out trailing shwa-e of a verb:
I hope I didn't miss any punctuation marks. If I didn't mention them, their usage is likely exactly as in English.
German uses the Chevron style quotation marks: