<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eiji8pou</author_name>
  <author_url>https://blog.hatena.ne.jp/eiji8pou/</author_url>
  <blog_title>eiji8pou's diary</blog_title>
  <blog_url>https://eiji8pou.hatenadiary.com/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>utf8で出力し、入力もおそらくutf8と言うCGIの場合。 使う物。 use CGI; use utf8; Encode::Guess; CGIモジュールを利用してフォームから入力されたパラメータを受け取るが、その値にはutf8フラグがついていない（場合がある。バージョン違いとかで）。 なので、アプリケーションの下準備として、それらの値にutf8フラグを付与する必要がある。（はず） そこで、以下のようなメソッドを作成した。 sub encode { my ( $self, $word ) = @_; $word or return $word; my $enc = guess_encodin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feiji8pou.hatenadiary.com%2Fentry%2F20060618%2F1150641593&quot; title=&quot;utf8でCGIを作る時の注意点 - eiji8pou&amp;#39;s diary&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-06-18 23:39:53</published>
  <title>utf8でCGIを作る時の注意点</title>
  <type>rich</type>
  <url>https://eiji8pou.hatenadiary.com/entry/20060618/1150641593</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
