enabled bad encoding detector and have its field indexed