Clean illegal characters