Remove non-printing characters