{"height":"190","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","image_url":null,"provider_name":"Hatena Blog","url":"https://y0m0r.hateblo.jp/entry/20120209/1328792603","author_name":"yuheiomori0718","type":"rich","version":"1.0","categories":["ruby","python","emacs"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20120209%2F1328792603\" title=\"\u30e6\u30cb\u30b3\u30fc\u30c9\u3068\u6587\u5b57\u3092\u76f8\u4e92\u5909\u63db\u3059\u308b - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","blog_url":"https://y0m0r.hateblo.jp/","published":"2012-02-09 22:03:23","provider_url":"https://hatena.blog","description":"ruby\u3067\u6587\u5b57\u306e\u5165\u529b\u30c1\u30a7\u30c3\u30af\u3068\u304b\u30b4\u30cb\u30e7\u30b4\u30cb\u30e7\u3084\u3063\u3066\u305f\u306e\u3067\u30e1\u30e2 # ruby # \u6587\u5b57\u3092\u30e6\u30cb\u30b3\u30fc\u30c9\u306e\u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u306b '\u3042'.unpack('U').first # => 12354 # 16\u9032\u6570 12354.to_s(16) # => \"3042\" # \u30e6\u30cb\u30b3\u30fc\u30c9\u306e\u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u6587\u5b57\u306b [0x3042].pack('U') # => \"\u3042\" \u3064\u3044\u3067\u306bpython\u3067\u3069\u3093\u306a\u611f\u3058\u304b\u3061\u3087\u3063\u3068\u3060\u3051\u8abf\u3079\u305f # python # \u6587\u5b57\u3092\u30e6\u30cb\u30b3\u30fc\u30c9\u306e\u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u306b print ord(u'\u3042') # => 12354 # 16\u9032\u6570 print \"%x\" % 12354 # => \"3042\" # \u30e6\u30cb\u30b3\u30fc\u2026","title":"\u30e6\u30cb\u30b3\u30fc\u30c9\u3068\u6587\u5b57\u3092\u76f8\u4e92\u5909\u63db\u3059\u308b"}