아미(아름다운미소)

'cp949' codec can't encode character '\xa0' in position 357: illegal multibyte sequence error 본문

랭귀지/PYTHON

'cp949' codec can't encode character '\xa0' in position 357: illegal multibyte sequence error

유키공 2022. 9. 5. 16:29
'cp949' codec can't encode character '\xa0' in position 357: illegal multibyte sequence 에러시

 

기존소스

f = open('test.txt', 'w')

변경소스

f = open('test.txt', 'w', encoding='UTF-8')

'랭귀지 > PYTHON' 카테고리의 다른 글

ORM  (0) 2022.10.12
pycharm 언어를 한글에서 영어로 변경  (0) 2022.09.13
Oracle에 타임 스탬프를 삽입하는 방법  (0) 2022.05.07
Using Chunksize in Pandas  (0) 2022.03.13
django That port is already in use  (0) 2021.02.02
Comments