{"url":"https://rubyco.hatenadiary.org/entry/20090222/string","published":"2009-02-22 00:00:01","type":"rich","description":"UTF8\u6587\u5b57\u5217\u3092Shift_JIS\u306b\u5909\u63db\u3059\u308b\u4f8b\u3002 require 'kconv' MATHGIRL = \"\\346\\225\\260\\345\\255\\246\\343\\202\\254\\343\\203\\274\\343\\203\\253\" puts MATHGIRL puts MATHGIRL.tosjis \u5b9f\u884c\u7d50\u679c\u3067\u3059(Windows\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306b\u3066)\u3002 \u8b28\uff70\u87c4\uff66\u7e67\uff6c\u7e5d\uff7c\u7e5d\uff6b (UTF8\u76f4\u63a5\u51fa\u529b\u3057\u3066\u6587\u5b57\u5316\u3051) \u6570\u5b66\u30ac\u30fc\u30eb (Shift_JIS\u306b\u5909\u63db\u3055\u308c\u3066\u6587\u5b57\u5316\u3051\u3057\u306a\u3044)\u88dc\u8db3\uff1a ri String\u3092\u8aad\u3093\u3067\u3044\u3066\u3001tosjis\u3068\u3044\u3046\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308b\u306e\u3092\u767a\u898b\u3002 \u3078\u3048\u3001\u4fbf\u5229\u3060\u306a\u3042\u3068\u601d\u3063\u3066\u4f7f\u304a\u3046\u3068\u3057\u2026","image_url":null,"blog_title":"rubyco\uff08\u308b\u3073\u3053\uff09\u306e\u65e5\u8a18","blog_url":"https://rubyco.hatenadiary.org/","title":"UTF8\u6587\u5b57\u5217\u3092Shift_JIS\u306b\u5909\u63db\u3059\u308b","author_url":"https://blog.hatena.ne.jp/rubyco/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubyco.hatenadiary.org%2Fentry%2F20090222%2Fstring\" title=\"UTF8\u6587\u5b57\u5217\u3092Shift_JIS\u306b\u5909\u63db\u3059\u308b - rubyco\uff08\u308b\u3073\u3053\uff09\u306e\u65e5\u8a18\" 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":"rubyco","categories":[],"height":"190","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","version":"1.0","width":"100%"}