Convert various forms of quotes to ASCI double quote or apostrophe as appropriate to work around encoding problems.