{"author_url":"https://blog.hatena.ne.jp/nekoyukimmm/","provider_url":"https://hatena.blog","published":"2017-05-31 15:30:02","blog_url":"https://nekoyukimmm.hatenablog.com/","image_url":null,"blog_title":"\u306d\u3053\u3086\u304d\u306e\u30e1\u30e2","author_name":"nekoyukimmm","categories":["Python"],"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekoyukimmm.hatenablog.com%2Fentry%2F2017%2F05%2F31%2F153002\" title=\"&lt;Python&gt; \u6587\u5b57\u30b3\u30fc\u30c9 - \u306d\u3053\u3086\u304d\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://nekoyukimmm.hatenablog.com/entry/2017/05/31/153002","description":"\u6587\u5b57\u30b3\u30fc\u30c9 Character Codes\u3067\u5c11\u3057\u904a\u3093\u3060\u3002 UTF-8\u306e\u30b3\u30fc\u30c9\u8868\u3002 UTF-8\u30b3\u30fc\u30c9\u8868(1) \u3053\u306e\u30b3\u30fc\u30c9\u8868\u3092\u5143\u306b\u30c7\u30b3\u30fc\u30c9decode\u3057\u3066\u307f\u308b\u3002 In [36]: b'\\xe3\\x81\\x82'.decode() Out[36]: '\u3042' In [37]: b'\\xc3\\xa0'.decode() Out[37]: '\u00e0' \u306a\u308b\u3078\u305d\u3002 \u3058\u3083\u3001\u3063\u3066\u3053\u3068\u3067\u3001\u30a8\u30f3\u30b3\u30fc\u30c9\u3057\u3066\u307f\u308b\u3002 In [38]: '\u3042'.encode() Out[38]: b'\\xe3\\x81\\x82' \u3075\u3080\u3075\u3080\u3002 \u3067\u3001\u308f\u304b\u308a\u305a\u3089\u304b\u3063\u305f\u306e\u304c\u30ea\u30c6\u30e9\u30eb\u3061\u3085\u3046\u3084\u3064\u3002 \u8981\u306f\u3069\u3046\u8868\u8a18\u3059\u308b\u304b\uff1f \u3068\u3044\u3046\u3053\u3068\u3089\u3057\u3044\u3002 \u30a2\u30b9\u30ad\u30fc\u6587\u5b57as\u2026","provider_name":"Hatena Blog","title":"<Python> \u6587\u5b57\u30b3\u30fc\u30c9","width":"100%","version":"1.0","type":"rich"}