2024-여름

UnicodeDecodeError: 'cp949' codec can't decode byte 0xec in position 9: illegal multibyte sequence

돌멩이수프 2024. 7. 29. 22:30
728x90

보통 한글을 읽으려 할 때 나는 오류,

 

open('text.txt',encoding='UTF-8')

 

인코딩 타입을 알려준다!

728x90