
파일의 인코딩 형식이 Python에서 기본적으로 사용하는 UTF-8과 일치하지 않아서 발생
csv 파일을 utf-8로 변경해서 수정완료
++추가!!!
그러면 글이 깨진다 .. 당연한건데
나같은 경우는 csv 파일의 인코딩 형식을 맞췄다.
with open(file_path, mode='r', encoding='ANSI') as file:
'에러일기' 카테고리의 다른 글
[Python] ValueError: invalid literal for int() with base 10: '' (0) | 2024.11.30 |
---|---|
RecoverableDataAccessException (0) | 2024.11.08 |
jakarta.el.PropertyNotFoundException (0) | 2024.11.07 |
java.lang.NumberFormatException: For input string: "null" (0) | 2024.11.06 |
org.springframework.dao.EmptyResultDataAccessException (0) | 2024.11.03 |