{"provider_url":"https://hatena.blog","image_url":null,"title":"open\u30d7\u30e9\u30b0\u30de\u306e\u843d\u3068\u3057\u7a74","version":"1.0","type":"rich","author_name":"gfx","blog_title":"Islands in the byte stream (legacy)","blog_url":"https://gfx.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20080721%2F1216618776\" title=\"open\u30d7\u30e9\u30b0\u30de\u306e\u843d\u3068\u3057\u7a74 - Islands in the byte stream (legacy)\" 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%","published":"2008-07-21 14:39:36","url":"https://gfx.hatenadiary.org/entry/20080721/1216618776","provider_name":"Hatena Blog","categories":["Perl","PerlIO"],"description":"open\u30d7\u30e9\u30b0\u30de\u306e\u6319\u52d5\u304c\u7570\u69d8\u3060\u3002 \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e9\u30a4\u30d6\u30e9\u30eaHoge.pm\u304c\u3042\u3063\u305f\u3068\u3059\u308b\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u30d5\u30a1\u30a4\u30eb\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306fShift_JIS\u3068\u3059\u308b\u3002 package Hoge; sub hoge{ use Data::Dumper; my $hoge = \"\u307b\u3052\uff01\"; printf \"is_utf8: %d\\n\", utf8::is_utf8($hoge); print Dumper $hoge; } 1; \u305d\u3057\u3066\u3053\u308c\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b9\u30af\u30ea\u30d7\u30c8hoge.pl\u304b\u3089\u547c\u3073\u51fa\u3059\u3068\u3059\u308b\u3002 #!perl -w use strict; use open ':encoding(Shift_JIS)'; use\u2026","author_url":"https://blog.hatena.ne.jp/gfx/","height":"190"}