{"published":"2013-03-13 18:12:38","author_name":"ura_ra","version":"1.0","type":"rich","author_url":"https://blog.hatena.ne.jp/ura_ra/","blog_url":"https://urara.hatenadiary.com/","url":"https://urara.hatenadiary.com/entry/20130313/1363165958","description":"[\u8a18\u8ff0\u4e2d] sakura\u30a8\u30c7\u30a3\u30bf\u3067\u958b\u3044\u305f\u969b\u306e\u53f3\u4e0b\u306b\u8868\u793a\u3055\u308c\u308b\u30a8\u30f3\u30b3\u30fc\u30c9\u304c \u300cUnicode\u300d \u3060\u3063\u305f\u5834\u5408\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u306fUTF-16\u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u3066\u3044\u308b\u3002Ruby\u3067\u64cd\u4f5c\u3059\u308b\u306a\u3089 f = open(filepath, \"rb:UTF-16LE\"); str = f.read(); str = str.encode(\"utf-8\"); \u307f\u305f\u3044\u306b\u66f8\u304f\u3068UTF-8\u306b\u30a8\u30f3\u30b3\u30fc\u30c9\u51fa\u6765\u308b\u3002","blog_title":"\u3072\u3088\u3053\u306e\u5916\u90e8\u8a18\u61b6","image_url":null,"provider_url":"https://hatena.blog","title":"\u30a8\u30f3\u30b3\u30fc\u30c9\u306e\u8a71","categories":["Ruby"],"provider_name":"Hatena Blog","width":"100%","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Furara.hatenadiary.com%2Fentry%2F20130313%2F1363165958\" title=\"\u30a8\u30f3\u30b3\u30fc\u30c9\u306e\u8a71 - \u3072\u3088\u3053\u306e\u5916\u90e8\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}