{"blog_title":"daily dayflower","blog_url":"https://dayflower.hatenablog.com/","categories":["perl"],"provider_url":"https://hatena.blog","height":"190","url":"https://dayflower.hatenablog.com/entry/20071225/1198634779","published":"2007-12-25 11:06:19","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdayflower.hatenablog.com%2Fentry%2F20071225%2F1198634779\" title=\" Perl \u3067 Unicode Character \u306b\u3064\u3044\u3066\u89e6\u308b - daily dayflower\" 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%","image_url":null,"title":" Perl \u3067 Unicode Character \u306b\u3064\u3044\u3066\u89e6\u308b","author_url":"https://blog.hatena.ne.jp/dayflower/","version":"1.0","author_name":"dayflower","provider_name":"Hatena Blog","description":"Python \u306e unicodedata \u30e2\u30b8\u30e5\u30fc\u30eb - bk\u30d6\u30ed\u30b0 \u3092\u8aad\u3093\u3067\uff0c\u305d\u308c Perl \u3060\u3068\u3069\u3046\u3088\u3068\u601d\u3063\u305f\u3093\u3067\u5bfe\u5fdc\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002utf8 flag \u3084 Encode \u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u3064\u3044\u3066\u306f\u7279\u306b\u89e3\u8aac\u3057\u307e\u305b\u3093\u306e\u3067\u3002 \u6587\u5b57\u306e\u540d\u524d\u3092\u53d6\u5f97\u3059\u308b charnames \u30e2\u30b8\u30e5\u30fc\u30eb\uff08Perl 5.6 \u3088\u308a\u4ed8\u5c5e\uff09\u306e viacode \u95a2\u6570\u3092\u4f7f\u3046\u3068\u6587\u5b57\u306e\u540d\u524d\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5f15\u6570\u3068\u3057\u3066\u6587\u5b57\u5217\u3067\u306f\u306a\u304f\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6e21\u3059\u3068\u3053\u308d\u304c\u8981\u6ce8\u610f\u3067\u3059\u3002 use utf8; use charnames qw( :full ); print charnames::viacode(ord 'A')), \"\\n\"; # '\u2026","type":"rich"}