Open JamoCA opened 1 month ago
Could a configuration option be added to automatically sanitize smart quotes?
I believe that you could use something like this:
str = str.replace( /\u2018|\u2019|\u201A|\uFFFD/g, "'" ); str = s.replace( /\u201c|\u201d|\u201e/g, '"' );
Perhaps an option to remove non-breaking spaces too.
stry = str.replace(/[\u02DC|\u00A0]/g, " ");
NOTE: I prefer using ASCII7 as much as possible.
Could a configuration option be added to automatically sanitize smart quotes?
I believe that you could use something like this: