This may be a typesetting question more than a programming one, but maybe some English major-turned-programmer has the answer.
Sometimes when I copy/paste code from a source, quotation marks copy in a format that doesn't match the rest of the document.
My initial thought would be that it is just a aesthetic symbol, like a bullet point.
You can see the difference in quotes below. These were produced by typing and then copy/pasting from the indicated program. Each program handles it differently, sometimes formatting the double quotes into two separate symbols.
“hello typed into word. Notice the special quotes”
"hello typed into notepad"
My questions are:
should these affect a program's ability to find the beginning and end of a string? Checking with C#, it seems this works:
string formattedQuotes = "I said, “hello” ";
string escapedQuotes = "I said, \"hello\" ";
should I use the stylized quotes in a string instead of the default quote symbol produced in a code editor?
Do these symbols have a special name or special purpose? i.e. one for inch markings and one for quotes and one for strings.