vincent-paing / Rabbkt

Efficient ZG<=> Unicode converter using rules from Rabbit
Do What The F*ck You Want To Public License
6 stars 1 forks source link

Rule to remove unicode zero-width white space character #2

Open vincent-paing opened 5 years ago

vincent-paing commented 5 years ago

Some of the Burmese keyboard in Android uses zero-width white space (\u200B). For unaware developers, this could cause issue in date integrity. Need to add a rule out of box that remove these zero-width white space.

ankit-mnnit commented 5 years ago

str = str.replaceAll("[\\p{Cf}]", "");

https://stackoverflow.com/a/42985924