tip
파이썬 리다이렉트 인코딩 에러
seleuchel
2021. 12. 13. 01:19
파이썬 print 출력을 콘솔에서 리다이렉트로 출력 파일 만들면,
유니코드 ~~ 인코딩 ~~ 에러가 뜨고 파일이 안 뽑아진다...
UnicodeEncodeError: 'cp949' codec can't encode character '\u2013' in position 861: illegal multibyte sequence
해결방법 : python의 환경변수 set 변경