<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>php</anon>
  </categories>
  <description>json_encodeに画像ファイルを突っこんでみた。 $index = file_get_contents(&quot;./index.jpg&quot;); var_dump(json_encode($index)); var_dump(null); var_dump(json_last_error()); 警告が出る。そして、エラーのタイプは5、 JSON_ERROR_UTF8、正しくエンコードされていないなど、不正な形式の UTF-8 文字 が突っこまれたときに 発生する。 PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120412%2F1334167518&quot; title=&quot;json_encodeに画像ファイルを突っこんでみる - by shigemk2&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>2012-04-12 03:05:18</published>
  <title>json_encodeに画像ファイルを突っこんでみる</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120412/1334167518</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
