modify bug utf-8 print when rediect