{"published":"2019-04-12 18:38:22","blog_url":"https://blog.systemjp.net/","image_url":null,"categories":["perl"],"url":"https://blog.systemjp.net/entry/2019/04/12/183822","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/shikaku/","width":"100%","blog_title":"shikaku's blog","version":"1.0","height":"190","provider_name":"Hatena Blog","author_name":"shikaku","description":"use Encode; .... # Shift_JIS\u30d0\u30a4\u30c8\u6587\u5b57\u5217\u3092\u5185\u90e8\u6587\u5b57\u5217\u306b\u5909\u63db \u304b\u3089\u306e \u5185\u90e8\u6587\u5b57\u5217\u3092UTF-8\u30d0\u30a4\u30c8\u6587\u5b57\u5217\u306b\u5909\u63db $fromAddress = decode('Shift_JIS', $fromAddress); $from_encode = encode('UTF-8', $fromAddress); $from_encode =~ s/([^ 0-9a-zA-Z])/\"%\".uc(unpack(\"H2\",$1))/eg; $from_encode =~ s/ /+/g; \u30cd\u30bf\u5143 https://memememomo.hatenablog.com/entry/2012\u2026","title":"perl\u3067shift-jis\u306e\u6587\u5b57\u5217\u3092utf-8\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u306eURL\u30a8\u30f3\u30b3\u30fc\u30c9","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2019%2F04%2F12%2F183822\" title=\"perl\u3067shift-jis\u306e\u6587\u5b57\u5217\u3092utf-8\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u306eURL\u30a8\u30f3\u30b3\u30fc\u30c9 - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich"}