{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubikitch.hatenadiary.org%2Fentry%2F20080125%2F1201207377\" title=\"Ruby\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u5b9f\u9a13 - http://rubikitch.com/\u306b\u79fb\u8ee2\u3057\u307e\u3057\u305f\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://rubikitch.hatenadiary.org/entry/20080125/1201207377","description":"\u3044\u3064\u306e\u307e\u306b\u304b\u6a19\u6e96\u5165\u529b\u304b\u3089\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306flocale\u4f9d\u5b58\u306b\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3060\u3002\u300c-Ke\u300d\u3084\u300c-E EUC-JP\u300d\u3067\u306frequire\u3055\u308c\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u307e\u3067\u306f\u53cd\u6620\u3055\u308c\u306a\u3044\u3002\u30b0\u30ed\u30fc\u30d0\u30eb\u3058\u3083\u306a\u3044\u306e\u306d\u3002\u4e00\u65b9\u3001magic comment\u3092\u3064\u3051\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3092require\u3059\u308b\u3068\u300c-Kn\u300d\u3067\u3042\u3063\u3066\u3082\u304d\u3061\u3093\u3068\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u8a8d\u8b58\u3057\u3066\u304f\u308c\u308b\u3002IO\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3082locale\u304b\u3089\u306a\u306e\u304b\u306a\u3002 $ cat euc.rb p \"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\".encoding $ echo $LANG ja_JP.eucJP $ ruby190 -v euc.rb ruby 1.9.0 (2007-1\u2026","provider_url":"https://hatena.blog","title":"Ruby\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u5b9f\u9a13","type":"rich","version":"1.0","author_name":"rubikitch","published":"2008-01-25 05:42:57","author_url":"https://blog.hatena.ne.jp/rubikitch/","provider_name":"Hatena Blog","blog_title":"http://rubikitch.com/\u306b\u79fb\u8ee2\u3057\u307e\u3057\u305f","height":"190","blog_url":"https://rubikitch.hatenadiary.org/","image_url":null,"categories":["ruby"],"width":"100%"}