<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sun-basix</author_name>
  <author_url>https://blog.hatena.ne.jp/sun-basix/</author_url>
  <blog_title>taiyoh独言</blog_title>
  <blog_url>https://sun-basix.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>XMLパーサとエンコードのオブジェクトをクラス中で使いまわそうと思って外で宣言していたら、そこに携帯で一度でもアクセスしたらエンコードのスイッチが入りっぱなしになっちゃって、PCで見ると文字化けが直らない。 仕方ないので、中のメソッド一つ一つでそのオブジェクトを実体化するようにしたら、正常に動くようになった。 せっかく継承を使ったクラスにまで拡大できるかと思ったけど、オブジェクト指向の特徴全部を詰め込むのが原則ではないし。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsun-basix.hatenadiary.org%2Fentry%2F20060811%2F1155307242&quot; title=&quot;オブジェクトはなるべくメソッド間で使いまわさない方がいいっぽい - taiyoh独言&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>2006-08-11 23:40:42</published>
  <title>オブジェクトはなるべくメソッド間で使いまわさない方がいいっぽい</title>
  <type>rich</type>
  <url>https://sun-basix.hatenadiary.org/entry/20060811/1155307242</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
