<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>macks</author_name>
  <author_url>https://blog.hatena.ne.jp/macks/</author_url>
  <blog_title>diary of a madman</blog_title>
  <blog_url>https://macks.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>最初に結論。Sequel で Ruby/MySQL を使いたい場合は、オプションで :compress =&gt; false をつければOK。 以下、経緯。 Ruby 1.9.2 で Sequel を使ってみたら DB から取得した文字列のエンコーディングが全部 ASCII-8BIT だったので、ソースを読んでみたところ、MySQL/Ruby(libmysqlclient を使ってる方) の問題らしいことが分かり、代わりに Ruby/MySQL(pure Ruby 実装の方)を使おうとしたらこれが全く動かなくてハマってしまった。 さらに調べてみたところ、以下のことが分かった。 Sequel の M…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmacks.hatenadiary.org%2Fentry%2F20110131%2Fp1&quot; title=&quot; Sequel + Ruby/MySQL - diary of a madman&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>2011-01-31 00:00:00</published>
  <title> Sequel + Ruby/MySQL</title>
  <type>rich</type>
  <url>https://macks.hatenadiary.org/entry/20110131/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
