* better ascii-fy quotes
This commit is contained in:
parent
d4c2d77479
commit
7e2a43efd5
|
@ -274,7 +274,7 @@ public class ExpressionFormatMethods {
|
|||
}
|
||||
|
||||
public static String ascii(String self, String fallback) {
|
||||
return Transliterator.getInstance("Any-Latin;Latin-ASCII;[:Diacritic:]remove").transform(self).replaceAll("[^\\p{ASCII}]+", fallback).trim();
|
||||
return Transliterator.getInstance("Any-Latin;Latin-ASCII;[:Diacritic:]remove").transform(asciiQuotes(self)).replaceAll("[^\\p{ASCII}]+", fallback).trim();
|
||||
}
|
||||
|
||||
public static String asciiQuotes(String self) {
|
||||
|
|
Loading…
Reference in New Issue