<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>studio-m</author_name>
  <author_url>https://blog.hatena.ne.jp/studio-m/</author_url>
  <blog_title>Lism.in * blog - nekoya (id:studio-m)</blog_title>
  <blog_url>https://studio-m.hatenadiary.org/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>Perlでutf-8って、何かと面倒くさいのね。前に使ってたのは5年ぐらい前に共用サーバでcgi書いてたぐらいだから全く把握してなかった。まず判断が付かないのが、use utf8;した方がいいのかどうか。全部utf-8な環境では最初にuse utf8;しておくのが吉とdankogaiも言ってる。確かにマルチバイト文字列の長さを見たり、正規表現を通すには指定しておいた方がよさげ。でも、周りのライブラリがついてこなかったりして困る。DBIで直接DBを叩いている古いスクリプトを移行したら、DBから取ってきたデータが文字化ける。DBIx::Classで取ってくるようにして、utf8_columns指定…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstudio-m.hatenadiary.org%2Fentry%2F20071213%2F1197513608&quot; title=&quot;Template::Toolkitでutf-8を扱う - Lism.in * blog - nekoya (id:studio-m)&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>2007-12-13 11:40:08</published>
  <title>Template::Toolkitでutf-8を扱う</title>
  <type>rich</type>
  <url>https://studio-m.hatenadiary.org/entry/20071213/1197513608</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
