<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hateka</author_name>
  <author_url>https://blog.hatena.ne.jp/hateka/</author_url>
  <blog_title>hateka’s blog</blog_title>
  <blog_url>https://hateka.hateblo.jp/</blog_url>
  <categories>
    <anon>php</anon>
  </categories>
  <description>レンタルサーバーじゃアクセス権がなくてmysqlが使えないようなのでローカルで使う。 そこで文字コードの話し。 当然文字化けするのでデータ出力のまえに文字化け対策。mysql_connectで接続した後mysql_query(&quot;set names utf8&quot;);としてデータ読み込み時の文字コードを指定する。 shift-jisならnames以下をsjis に。eucならujisでおけ。 ってかsjis はまだわかるけどなんでeucがujisになるんだ（−−； utfも最初わかんなくてutf-8にしてたよ！ だってhtmlの出力時は文字コードにutf-8って書くじゃんね。 phpだってそうなのに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhateka.hateblo.jp%2Fentry%2F20080731%2F1217515845&quot; title=&quot;mysqlの勉強 - hateka’s blog&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-07-31 23:50:45</published>
  <title>mysqlの勉強</title>
  <type>rich</type>
  <url>https://hateka.hateblo.jp/entry/20080731/1217515845</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
