<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pirokyun</author_name>
  <author_url>https://blog.hatena.ne.jp/pirokyun/</author_url>
  <blog_title>pirokyunの日記</blog_title>
  <blog_url>https://pirokyun.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>文字コード設定 Railsで日本語を扱うためには文字コードを設定する必要があります。 まー今は「utf-8」にするのが当たり前というか普通になってきてるんで「utf-8」で設定します。sample/config/environment.rbこのファイルの一番上に、以下のように「$KCODE = &quot;UTF8&quot;」と入力する。 $KCODE = &quot;UTF8&quot; #追加 # Be sure to restart your web server when you modify this file. # Uncomment below to force Rails into production mode …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpirokyun.hatenadiary.org%2Fentry%2F20071117%2F1195287894&quot; title=&quot;RubyとRailsを使ってみる。(2)文字コード設定とデータベース作成・設定とsccafold *1 - pirokyunの日記&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>https://cdn-ak.f.st-hatena.com/images/fotolife/p/pirokyun/20071117/20071117165442.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-11-17 17:24:54</published>
  <title>RubyとRailsを使ってみる。(2)文字コード設定とデータベース作成・設定とsccafold *1</title>
  <type>rich</type>
  <url>https://pirokyun.hatenadiary.org/entry/20071117/1195287894</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
