normalizeQuotes function
Normalizes curly quotes to straight quotes.
Implementation
String normalizeQuotes(String str) {
return str
.replaceAll(leftSingleCurlyQuote, "'")
.replaceAll(rightSingleCurlyQuote, "'")
.replaceAll(leftDoubleCurlyQuote, '"')
.replaceAll(rightDoubleCurlyQuote, '"');
}