<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>maru_cc</author_name>
  <author_url>https://blog.hatena.ne.jp/maru_cc/</author_url>
  <blog_title>maru.cc@はてな</blog_title>
  <blog_url>https://marucc.hatenablog.com/</blog_url>
  <categories>
    <anon>php</anon>
  </categories>
  <description>ちょっと目に留まったので。 「文字コードを変えて一気に出力する方法（PHPのob_start） | IDEA*IDEA」 こんな感じでいいと思いました。 &lt;?php while(@ob_end_clean()); header('Content-Type: text/html; charset=Shift_JIS'); ob_start(create_function('&amp;$buf', 'return mb_convert_encoding($buf, &quot;SJIS&quot;, &quot;UTF-8&quot;);')); ?&gt; &lt;html&gt; &lt;head&gt;&lt;/head&gt; &lt;body&gt; ここにShift-JISで出力したい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmarucc.hatenablog.com%2Fentry%2F20080418%2F1208487223&quot; title=&quot;文字コードを変えて一気に出力する方法（PHPのob_start） - maru.cc@はてな&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>2008-04-18 11:53:43</published>
  <title>文字コードを変えて一気に出力する方法（PHPのob_start）</title>
  <type>rich</type>
  <url>https://marucc.hatenablog.com/entry/20080418/1208487223</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
