remove useless encoding directive