Toxicdistortion said:all punctuation should be inside the quotes. Look in any book with dialog, everything is inside the quotes.
Mentalist said:Wrong. A question mark that isn't part of the quoted matter will require the question mark to be placed outside the quote marks.
Toxicdistortion said:It appears the question mark is special.
From
http://www.kimskorner4teachertalk.com/writing/sixtrait/conventions/punctuation.html#QUOTATION MARKS
Example: "I think my leg is broken," Jesse whimpered.
Example: Did Mrs. Steele just say, "We are going to have a test today"?
Example: "I can't move." Maria whispered, "I'm too scared."
Question marks go outside, periods go inside.