<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tweeeety</author_name>
  <author_url>https://blog.hatena.ne.jp/tweeeety/</author_url>
  <blog_title>tweeeetyのぶろぐ的めも</blog_title>
  <blog_url>https://tweeeety.hateblo.jp/</blog_url>
  <categories>
    <anon>perl</anon>
    <anon>cpan</anon>
    <anon>mysql</anon>
  </categories>
  <description>はじめに perl関連で文字化け的なものが発生すると、あーあれね、内部文字列だとかのやつね。 とかなりがちですよね。 しかしそう思い込んで対処しようとしていたらもっと初歩的なことに気付かずで時間を使ってしまったというだけのメモ。 ぐ。。。 対応方法 文字化けった内容のほうは見せるまでもないので対応だけ書いておわりにします。 文字化けるとき # 各変数には適切な値が入ってる my $dbh = DBI-&gt;connect( &quot;dbi:mysql:dbname=$DB_NAME;host=$DB_HOST;port=$DB_PORT;mysql_socket=/tmp/mysql.sock&quot;, &quot;$…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftweeeety.hateblo.jp%2Fentry%2F2015%2F07%2F12%2F224223&quot; title=&quot;【perl】perl x mysql(DBI::mysql)でのかなり恥ずかしい文字化け対応 - ????とかになっちゃう。 - tweeeetyのぶろぐ的めも&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-07-12 22:42:23</published>
  <title>【perl】perl x mysql(DBI::mysql)でのかなり恥ずかしい文字化け対応 - ????とかになっちゃう。</title>
  <type>rich</type>
  <url>https://tweeeety.hateblo.jp/entry/2015/07/12/224223</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
