How to decide when punctuation goes inside the quotation marks. Today, in my Canadian, Eh? column at Copyediting.com. Spoiler: Canadian style favours keeping punctuation inside the quotation marks, unless that changes the speaker’s meaning.
And here is a summary of American standards from APA.
The comma roach is © Dr. Shilland and is used here with his permission.