1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

今日のpython error: UnicodeEncodeError: 'ascii' codec can't encode characters

Last updated at Posted at 2019-12-31

今日のpython error: UnicodeEncodeError: 'utf-8' codec can't encode characters
https://qiita.com/kaizen_nagoya/items/ac48ba7946b303bb25fb

からの作業記録

docker/ubuntu
# python3 wid.py HAZOP
/wiki/FMEA
Traceback (most recent call last):
  File "wid.py", line 25, in <module>
    print (unquote(link.attrs['href']))  
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-14: ordinal not in range(128)

文書履歴(document history)

ver. 0.01 初稿 20191221
ver. 0.04 URL追記 20230302

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?