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

2024. 7. 29. 22:30·2024-여름
728x90

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

 

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

 

인코딩 타입을 알려준다!

728x90

'2024-여름' 카테고리의 다른 글

Defaulting to user installation because normal site-packages is not writeable  (0) 2024.07.30
AssertionError: Torch not compiled with CUDA enabled  (0) 2024.07.29
ModuleNotFoundError: No module named ‘fastai.callback.all’; ‘fastai.callback’ is not a package  (0) 2024.07.29
IProgress not found. Please update jupyter and ipywidgets.  (0) 2024.07.29
pip install 오류 : This error might have occurred since this system does not have Windows Long Path support enabled.  (0) 2024.07.25
'2024-여름' 카테고리의 다른 글
  • Defaulting to user installation because normal site-packages is not writeable
  • AssertionError: Torch not compiled with CUDA enabled
  • ModuleNotFoundError: No module named ‘fastai.callback.all’; ‘fastai.callback’ is not a package
  • IProgress not found. Please update jupyter and ipywidgets.
돌멩이수프
돌멩이수프
Information technology
  • 돌멩이수프
    WHAT DOES "IT" STAND FOR?
    돌멩이수프
  • 전체
    오늘
    어제
    • 분류 전체보기 (238) N
      • 언어 (73)
        • html (3)
        • css (1)
        • java (6)
        • C (26)
        • C++ (2)
        • C# (29)
      • 공부 (7)
        • Unity (43)
        • 게임 서버 (26)
        • 네트워크 (5)
        • 데이터베이스 (7)
        • EFCore (19)
        • 기타 (14)
        • Git (5)
        • 운영체제 (1)
        • 소프트웨어공학 (21)
      • 2024-여름 (12)
      • 자기 관리 (3) N
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    C#
    C
    HTML
    C언어
    java
    유니티
    coding
    코딩
    unity
    네트워크
    EntityFramework
    라즈베리파이
    Entityfamework
    게임서버
    EFCore
    Python
    백준
    자바
    tcp
    디자인패턴
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.2
돌멩이수프
UnicodeDecodeError: 'cp949' codec can't decode byte 0xec in position 9: illegal multibyte sequence
상단으로

티스토리툴바