I have dirty data. Sometimes it contains characters like this. I use this data to make queries like
WHERE a.address IN (\'mydatahere\')
For
You can filter surrogate characters with this regex:
String str = "