Is `replace("\\'92", "'", "g")` still necessary here? It seems like you handle it in a more general way below.