strip both str and unicode