{"image_url":null,"author_name":"HTN20190109","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2023%2F08%2F01%2F195323\" title=\"{Python}\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u5909\u63db - HTN20190109\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"https://www.whyit.work/entry/2018/02/20/224153 import codecs #\u30c6\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210 f = open('test1.txt', 'w', encoding='shift_jis')f.write('\u30c6\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u3059')f.close() # SJIS -> UTF8 \u5909\u63db f = codecs.open('test1.txt', 'r', encoding='shift-jis')g = codecs.open('test2.txt', 'w', encoding='utf-8')for line in f: g.write(lin\u2026","version":"1.0","type":"rich","blog_url":"https://htn20190109.hatenablog.com/","blog_title":"HTN20190109\u306e\u65e5\u8a18","published":"2023-08-01 19:53:23","categories":["Python"],"title":"{Python}\u30d5\u30a1\u30a4\u30eb\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u5909\u63db","width":"100%","height":"190","author_url":"https://blog.hatena.ne.jp/HTN20190109/","url":"https://htn20190109.hatenablog.com/entry/2023/08/01/195323","provider_name":"Hatena Blog","provider_url":"https://hatena.blog"}