<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shikaku</author_name>
  <author_url>https://blog.hatena.ne.jp/shikaku/</author_url>
  <blog_title>shikaku's blog</blog_title>
  <blog_url>https://blog.systemjp.net/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>use Encode; .... # Shift_JISバイト文字列を内部文字列に変換 からの 内部文字列をUTF-8バイト文字列に変換 $fromAddress = decode('Shift_JIS', $fromAddress); $from_encode = encode('UTF-8', $fromAddress); $from_encode =~ s/([^ 0-9a-zA-Z])/&quot;%&quot;.uc(unpack(&quot;H2&quot;,$1))/eg; $from_encode =~ s/ /+/g; ネタ元 https://memememomo.hatenablog.com/entry/2012…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2019%2F04%2F12%2F183822&quot; title=&quot;perlでshift-jisの文字列をutf-8に変換してからのURLエンコード - shikaku&amp;#39;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>2019-04-12 18:38:22</published>
  <title>perlでshift-jisの文字列をutf-8に変換してからのURLエンコード</title>
  <type>rich</type>
  <url>https://blog.systemjp.net/entry/2019/04/12/183822</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
