{"type":"rich","blog_title":"\u3059\u304c\u30d6\u30ed","height":"190","image_url":null,"provider_url":"https://hatena.blog","url":"https://sugamasao.hatenablog.com/entry/20080111/1200075088","provider_name":"Hatena Blog","blog_url":"https://sugamasao.hatenablog.com/","description":"\u6587\u5b57\u30b3\u30fc\u30c9\u5909\u63db Ruby \u306b\u9650\u3089\u305a\u3060\u3068\u601d\u3046\u3051\u3069\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u201d\u6ce2\u30c0\u30c3\u30b7\u30e5\u201d\u3084\u201d\u5168\u89d2\u30c0\u30c3\u30b7\u30e5\u201d\u306e\u3088\u3046\u306a\u6587\u5b57\u3092 NKF \u3067UTF-8 \u306b\u30a8\u30f3\u30b3\u30fc\u30c9\u3059\u308b\u969b\u306b\u6587\u5b57\u5316\u3051\u3059\u308b\u3002 \u74b0\u5883\u3068\u3057\u3066\u306f\u3001\u5165\u529b\u6587\u5b57\u306f Windows \u3067\u5165\u529b\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u306f Solaris 10 \u3067\u884c\u3063\u3066\u308b\u3002 require 'nkf' puts NKF.nkf('-w', '\u2015') \u3053\u3053\u3067 NKF \u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e --cp932 \u3092\u8ffd\u52a0\u3059\u308b\u3068\u3046\u307e\u304f\u884c\u304f\u3002 require 'nkf' puts NKF.nkf('-w --cp932', '\u2015') \u3053\u308c\u3063\u3066SJIS(\u5b9f\u614b\u306fMS932)\u3092 UTF-8 \u306b\u5909\u63db\u3059\u308b\u3068\u304d\u306e\u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u2026","version":"1.0","author_url":"https://blog.hatena.ne.jp/seiunsky/","published":"2008-01-11 03:11:28","title":"\u6587\u5b57\u30b3\u30fc\u30c9\u30d5\u30a1\u30c3\u30ad\u30f3\u30b0","width":"100%","categories":["Web","Ruby"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugamasao.hatenablog.com%2Fentry%2F20080111%2F1200075088\" title=\"\u6587\u5b57\u30b3\u30fc\u30c9\u30d5\u30a1\u30c3\u30ad\u30f3\u30b0 - \u3059\u304c\u30d6\u30ed\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"seiunsky"}