Remove the non ASCII characters from a String
static String removeNonASCII(String str) { return str.replaceAll(RegExp(r'[^\x20-\x7E]'), ''); }