<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinkufencer</author_name>
  <author_url>https://blog.hatena.ne.jp/shinkufencer/</author_url>
  <blog_title>コード日進月歩</blog_title>
  <blog_url>https://shinkufencer.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>header:true しようとしたらできなかったのでそのメモ 環境 $ ruby -v ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin18] どういうことか BOM付きのファイルを CSV クラスで読み込むと、先頭行にBOMの情報がついてしまう。そのため、headerのオプションを指定しても、そのheader名で値が取れなくなってしまう。 このBOMはExcelのデータをcsv形式で保存すると起きる。 例えば以下の内容をもつ profile.csv があるとする id,name,age 1,Taro,10 2,Ziro,11 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2019%2F07%2F05%2F233000&quot; title=&quot;BOM付きのCSVをRubyのCSVクラスでreadする - コード日進月歩&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-05 23:30:00</published>
  <title>BOM付きのCSVをRubyのCSVクラスでreadする</title>
  <type>rich</type>
  <url>https://shinkufencer.hateblo.jp/entry/2019/07/05/233000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
