<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dayflower</author_name>
  <author_url>https://blog.hatena.ne.jp/dayflower/</author_url>
  <blog_title>daily dayflower</blog_title>
  <blog_url>https://dayflower.hatenablog.com/</blog_url>
  <categories>
    <anon>db</anon>
    <anon>php</anon>
    <anon>memo</anon>
  </categories>
  <description>「skip-character-set-client-handshake」で検索すれば情報多数*1 ↑のオプションがうまく働くのは，下記のエンコーディングが一致する時 MySQL のエンコーディング MySQL データベースのエンコーディング*2 PHP で扱う文字列のエンコーディング 統一されていない場合はコネクションを張るごとに「SET NAMES エンコーディング名;」クエリを投げれば，サーバとクライアントのやりとりの部分で文字化けたりはしない できればデータベースのエンコーディングもそのコードにかえたほうがいいかも でもその場合に変換工程が省かれるかどうかは未検証 ちなみに文字照合*3…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdayflower.hatenablog.com%2Fentry%2F20061114%2F1163492613&quot; title=&quot; MySQL と PHP の文字エンコーディング - daily dayflower&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-11-14 17:23:33</published>
  <title> MySQL と PHP の文字エンコーディング</title>
  <type>rich</type>
  <url>https://dayflower.hatenablog.com/entry/20061114/1163492613</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
