{"categories":["Python"],"version":"1.0","type":"rich","url":"https://yohhoy.hatenadiary.jp/entry/20200206/p1","author_url":"https://blog.hatena.ne.jp/yohhoy/","blog_url":"https://yohhoy.hatenadiary.jp/","provider_name":"Hatena Blog","image_url":null,"blog_title":"yohhoy\u306e\u65e5\u8a18","author_name":"yohhoy","width":"100%","title":"\u540d\u524d\u306b\u3088\u308bUnicode\u30ea\u30c6\u30e9\u30eb\u8868\u73fe","provider_url":"https://hatena.blog","description":"Python\u3067\u306fUnicode\u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u306b\u3088\u308b\u30ea\u30c6\u30e9\u30eb\u8868\u73fe*1\u306e\u4ed6\u306b\u3001Unicode\u6587\u5b57\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9(UCD; Unicode Character Database)*2\u306b\u6e96\u3058\u305f\u540d\u524d\u8868\u73fe\u3082\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u3002 print(\"\\U0001F4DB\") # \ud83d\udcdb print(\"\\N{NAME BADGE}\") # \ud83d\udcdb print(\"\\N{TOFU ON FIRE}\") # SyntaxError: # (unicode error) 'unicodeescape' codec can't decode bytes in position 0-15: # unknown Unicode characte\u2026","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20200206%2Fp1\" title=\"\u540d\u524d\u306b\u3088\u308bUnicode\u30ea\u30c6\u30e9\u30eb\u8868\u73fe - yohhoy\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>","published":"2020-02-06 00:00:00"}