Valid unicode... that you don't want

Soldato
Joined
13 Jun 2009
Posts
4,230
Location
My own head
Hey all,

Does anyone know of a clean way to remove characters like this?

26bf8610f67d4b9da55b68b10f1e82cb.png


Now, the site in question is worldwide, and as such I've passed up things like an A-Z a-z 0-9 regex replace, cause it will clean too aggressively against russians for example.

I thought someone may have created a nice clean function somewhere, to strip out these image type unicode characters... but cannot find one.

Any clever ideas? :)
 
Back
Top Bottom