Robert 雜記

  • 首頁
  • 標籤
  • 分類
  • 歸檔列表
  • 搜尋
  • 文章目錄
  • 本站概要
  1. 1. UnicodeEncodeError
Robert Kao

Robert Kao

171 文章
14 分類
66 標籤
0%

Python issue

發表於 2024-04-24 分類於 Coding Disqus:
文章字數: 181 所需閱讀時間 ≈ 1 分鐘

UnicodeEncodeError

1
2
# UnicodeEncodeError: 'cp950' codec can't encode character '\u2661' in position 7107: illegal multibyte sequence
print(soup.encode('utf-8'))
# issue # python
Python connect to google sheet
python plotly
© 2025 Robert Kao
2.7m 41:16
由 Hexo & NexT.Gemini 強力驅動