<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>methane</author_name>
  <author_url>https://blog.hatena.ne.jp/methane/</author_url>
  <blog_title>methaneのブログ</blog_title>
  <blog_url>https://methane.hatenablog.jp/</blog_url>
  <categories>
    <anon>bzr</anon>
  </categories>
  <description>例外クラスがformat stringにbyte stringを使っていたので、&quot;%s&quot; % (foo,) みたいな部分で foo.__unicode__ ではなくて foo.__str__ が呼ばれてしまっていた。 __str__ を使うとunicodeのパスをutf8にencodeしてしまうクラスがあり、Windowsでエラーを出すとutf8でエンコードされた日本語パスが文字化けしていた。とりあえず目に付くフォーマット文字列に u を付けまくった。フォーマット文字列自体がascii文字しか含んでいなくても%sを使うならunicodeを使うべきって、ASCII圏の人は気づきにくい点の一つだな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmethane.hatenablog.jp%2Fentry%2F20090726%2F1248594750&quot; title=&quot; 今日の成果 - methaneのブログ&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>2009-07-26 16:52:30</published>
  <title> 今日の成果</title>
  <type>rich</type>
  <url>https://methane.hatenablog.jp/entry/20090726/1248594750</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
