I am beginning to suspect that you have an XY Problem. Why do you have to sanitize your data in the first place? To what end? Is it really useful to just weed out characters and turn Depósito into Depsito?
Then, your character class definition is incomplete. It should be [^:ascii:] - the last colon was missing.
In reply to Re^5: What's the 'M-' characters and how to filter/correct them?
by shmem
in thread What's the 'M-' characters and how to filter/correct them?
by sylph001
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |