python 3.2 UnicodeEncodeError: 'charmap' codec can't encode character '\u2013' in position 9629: character maps to

前端 未结 4 595
故里飘歌
故里飘歌 2021-01-28 06:05

I\'m trying to make a script that gets data out from an sqlite3 database, but I have run in to a problem.

The field in the database is of type text and the contains a ht

4条回答
  •  野的像风
    2021-01-28 06:31

    for me , using export PYTHONIOENCODING=UTF-8 before executing python command worked .

提交回复
热议问题