<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xibbar</author_name>
  <author_url>https://blog.hatena.ne.jp/xibbar/</author_url>
  <blog_title>福島餃子Ruby親方</blog_title>
  <blog_url>https://xibbar.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>やっぱり欲しくなったので、UNICODEのコードポイントの 変換メソットをStringに追加するようにしてみました。 class String def unicode2utf8 self.gsub(/\\u([0-9a-fA-F]{4})/){[$1.hex].pack(&quot;U&quot;)} end end これを定義すると、 puts 'Element.update(&quot;template_error&quot;, &quot;\u6307\u5b9a\u3055\u308c\u305f\u5b9a\u578b\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u524a\u9664\u3055\u30…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxibbar.hatenablog.com%2Fentry%2F20130206%2F1360154793&quot; title=&quot; 1.8.7でUNICODEのコードポイント文字列をUTF-8文字列にデコードする - 福島餃子Ruby親方&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>2013-02-06 21:46:33</published>
  <title> 1.8.7でUNICODEのコードポイント文字列をUTF-8文字列にデコードする</title>
  <type>rich</type>
  <url>https://xibbar.hatenablog.com/entry/20130206/1360154793</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
