I already found many related questions, but no sourced and exactly fitting answers, so I have to ask again.
I know there are different standards. I am interested in the British one. I was under the impression that punctuation was to be enclosed within the inverted commas, if and only if it formed part of the utterance. To my understanding, the following sources corroborate my statement (please note the position of the bold face comma):
Example from it:
‘Economic systems’, according to Professor White, ‘are an inevitable byproduct of civilization, and are, as John Doe said, “with us whether we want them or not”’.
American and British punctuation, by Tim North
Edit:
This one seems to be wrong. Unfortunately, I followed it for months.
Example from it:
"Hello", he said. "How are you today?"
Shockingly, it appears that the following contradicts my interpretation:
living oxford dictionaries
namely in the examples:
‘You’re right,’ he said.
and
‘I don’t agree,’ I replied.
Am I overlooking something? Is the standard changing? I am very confused!
Best Answer
You're confusing the usage of quotation marks for direct speech and for "a word or phrase that’s being discussed, or that’s being directly quoted from somewhere else". (Oxford Dictionaries)
In direct speech, both British and American English put the punctuation mark inside the quotation.
Both British and American
The versions of English differ in direct quotes, with regards to commas and periods. British English puts them outside the quotation marks whereas American English puts them inside.
British
American
As Peter Shor helpfully pointed out, the punctuation goes inside the quotation marks if it is part of the direct quote, regardless of whether it is British or American.
Both British and American
Sources: Purdue University (American), University of Sussex (British), APA Style Blog, The Punctuation Guide (both)