Use layout and strip out bad characters.