<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nishiohirokazu</author_name>
  <author_url>https://blog.hatena.ne.jp/nishiohirokazu/</author_url>
  <blog_title>西尾泰和のはてなダイアリー</blog_title>
  <blog_url>https://nishiohirokazu.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>こんな質問を頂きました。 『コーディングを支える技術』p157のPythonの例をRubyのpryとかで試すにはどうすればいいのだろう？ pic.twitter.com/4uZXV9mJc4 https://twitter.com/maehrm/status/429954521947598850端末のエンコーディングがutf-8として、Ruby1.9ならこうすると試せます。 irb(main):044:0&gt; puts %|\x1b$B$&quot;$&quot;$&quot;|.force_encoding('iso-2022-jp').encode('utf-8') あああ =&gt; nilPythonの文字列にはバイト列と…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnishiohirokazu.hatenadiary.org%2Fentry%2F20140404%2F1396622022&quot; title=&quot;コーディングを支える技術p157のPythonの例を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>2014-04-04 23:33:42</published>
  <title>コーディングを支える技術p157のPythonの例をRubyで試す</title>
  <type>rich</type>
  <url>https://nishiohirokazu.hatenadiary.org/entry/20140404/1396622022</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
