<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>littlebuddha</author_name>
  <author_url>https://blog.hatena.ne.jp/littlebuddha/</author_url>
  <blog_title>make world</blog_title>
  <blog_url>https://littlebuddha.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>YAML</anon>
    <anon>CSV</anon>
  </categories>
  <description>文字コードを変換させる 読み込みもとの CSV ファイルと出力先の SQL ファイルの文字コードが一致しない場合、文字コードを変換させる処理を行う。 fileopen.rb #!/bin/env ruby $KCODE='utf8' require 'kconv' csv = 'sample.csv' # CSV ファイルの文字コード input_char_encoding = 'Shift-JIS' # SQL 文を保存するファイルの文字コード output_char_encoding = 'UTF-8' def convert_char_encoding(encoding, data) b…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flittlebuddha.hatenadiary.org%2Fentry%2F20080523%2F1211525499&quot; title=&quot;Ruby で自家製スクリプトを書く 02 - make world&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>2008-05-23 15:51:39</published>
  <title>Ruby で自家製スクリプトを書く 02</title>
  <type>rich</type>
  <url>https://littlebuddha.hatenadiary.org/entry/20080523/1211525499</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
