<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>absg</author_name>
  <author_url>https://blog.hatena.ne.jp/absg/</author_url>
  <blog_title>やったこと</blog_title>
  <blog_url>https://absg.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>cakephpで作ったページが文字化けしてしまった。View部分のファイルを編集してたらいつのまにか文字コードが UTF-8 から Shift_JIS になってしまっていたようだ。以下のようにindex.ctpの文字コードをUTF-8に直したらちゃんと表示されるようになった。 (文字コード確認) $nkf -g index.ctp Shift_JIS (LF) (UTF-8に変換) $nkf -Lu --utf8 --overwrite index.ctp (修正OK) $nkf -g index.ctp UTF-8 (LF)しかしファイルの修正を進めていくとまた Shift_JIS に戻って…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fabsg.hatenablog.com%2Fentry%2F2015%2F03%2F11%2F171909&quot; title=&quot;webページが謎の文字化けした - やったこと&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>2015-03-11 17:19:09</published>
  <title>webページが謎の文字化けした</title>
  <type>rich</type>
  <url>https://absg.hatenablog.com/entry/2015/03/11/171909</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
