{"author_url":"https://blog.hatena.ne.jp/room01/","published":"2020-02-11 21:05:59","description":"\u74b0\u5883 Windows10 Python 3.8.1 \u30b3\u30fc\u30c9 # \u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080 src = open(filename, \"r\", ).read() \u30a8\u30e9\u30fc\u5185\u5bb9 UnicodeDecodeError: 'cp932' codec can't decode byte 0x85 in position : illegal multibyte sequence python3\u306e\u6587\u5b57\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306fUTF-8\u3067Windows\u306fcp932\u306e\u305f\u3081\u30a8\u30e9\u30fc\u3068\u306a\u308b\u3088\u3046\u3067\u3059\u3002 \u89e3\u6c7a\u7b56 encoding\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 src = open(filename, \"r\", encoding=\"utf-8\"\u2026","url":"https://konprogrammer.hatenablog.com/entry/2020/02/11/210559","width":"100%","version":"1.0","image_url":null,"blog_title":"\u3053\u30fc\u3072\u30fc\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","provider_url":"https://hatena.blog","categories":["python"],"title":"Python3\u306eopen\u3067UnicodeDecodeError: 'cp932' codec can't decode byte 0x85 in position : illegal multibyte sequence\u304c\u51fa\u305f\u3068\u304d\u306e\u899a\u66f8","provider_name":"Hatena Blog","blog_url":"https://konprogrammer.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkonprogrammer.hatenablog.com%2Fentry%2F2020%2F02%2F11%2F210559\" title=\"Python3\u306eopen\u3067UnicodeDecodeError: &#39;cp932&#39; codec can&#39;t decode byte 0x85 in position : illegal multibyte sequence\u304c\u51fa\u305f\u3068\u304d\u306e\u899a\u66f8 - \u3053\u30fc\u3072\u30fc\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_name":"room01","type":"rich"}