본문 바로가기

파이썬

UnicodeDecodeError: 'cp949' codec can't decode byte 0xed in position 0: illegal multibyte sequence 해결법

f = open('msg.txt','r',encoding='UTF-8')

 

encdording을 추가해줍니다. 끝