YouTube API UnicodeEncodeError in Python 3.4

后端 未结 1 872
被撕碎了的回忆
被撕碎了的回忆 2021-01-21 23:16

I was exploring the YouTube Data API and finding that improperly encoded results were holding me back. I got good results until I retrieve a set that includes unmapped character

相关标签:
1条回答
  • 2021-01-22 00:04

    Check the sys.stdout.encoding.
    If this is not UTF-8, the problem is not in YouTube API.
    Please check such as environment variables PYTHONIOENCODING, terminal and locale settings.

    0 讨论(0)
提交回复
热议问题