filter out control chars in entry fields