encoding filter to avoid @#$%