<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmtms</author_name>
  <author_url>https://blog.hatena.ne.jp/tmtms/</author_url>
  <blog_title>tmtms のメモ</blog_title>
  <blog_url>https://blog.tmtms.net/</blog_url>
  <categories>
    <anon>Crystal</anon>
    <anon>Ruby</anon>
  </categories>
  <description>これは「Ruby脳にはCrystalつらい Advent Calendar 2015」の18日目の記事です。 qiita.com Ruby の文字列のエンコーディングはオブジェクト毎に異なる可能性があります。 エンコーディングが異なる文字列を結合したりマッチングさせようとすると例外になります。 u = &quot;ほげ&quot;.encode(&quot;utf-8&quot;) s = &quot;ふが&quot;.encode(&quot;cp932&quot;) u + s #=&gt; incompatible character encodings: UTF-8 and Windows-31J (Encoding::CompatibilityError) Cryst…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F2015%2F12%2F18%2Fcrystal&quot; title=&quot;Crystal の文字列は UTF-8 固定でつらくない！ - tmtms のメモ&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>2015-12-18 00:00:00</published>
  <title>Crystal の文字列は UTF-8 固定でつらくない！</title>
  <type>rich</type>
  <url>https://blog.tmtms.net/entry/2015/12/18/crystal</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
