{"blog_url":"https://blog.emattsan.org/","title":" read CSV file","version":"1.0","url":"https://blog.emattsan.org/entry/20160413/1460506339","author_name":"E_Mattsan","image_url":null,"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/E_Mattsan/","blog_title":"\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F20160413%2F1460506339\" title=\" read CSV file - \u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","width":"100%","provider_name":"Hatena Blog","height":"190","published":"2016-04-13 09:12:19","description":"\u5099\u5fd8\u9332\u3002 # CP932 \u304b\u3089 UTF-8 \u306b\u5909\u63db\u3057\u3001\u5148\u982d\u884c\u3092\u30d8\u30c3\u30c0\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3080 CSV.foreach(csv_file_path, encoding: 'CP932:UTF-8', headers: true) do |row| p row # \u884c\u3092 Hash \u3067\u6b32\u3057\u3044\u5834\u5408 # p row.to_hash end","categories":["Ruby","\u3081\u3082"]}