<?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>perl</anon>
  </categories>
  <description>use Encode; foreach my $enc (qw( cp932 euc-jp UTF-8 utf8 )) { warn $enc; find_encoding($enc)-&gt;decode(undef) } とかやると UTF-8, utf8 でセグフォりました。encode() でも。utf8 系以外は大丈夫ぽい。 こんなデータを渡す方がもちろん悪いんですが。ちなみに find_encoding() 使わない encode('utf8', undef); とかは大丈夫。なので普通は露呈しないと思います。ソースを追ってたんですが XS（decode_xs, encode_xs） の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdayflower.hatenablog.com%2Fentry%2F20070111%2F1168501899&quot; title=&quot; Encode 2.18 で $encoding-&amp;gt;decode(undef) でセグフォった - 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>2007-01-11 16:51:39</published>
  <title> Encode 2.18 で $encoding-&gt;decode(undef) でセグフォった</title>
  <type>rich</type>
  <url>https://dayflower.hatenablog.com/entry/20070111/1168501899</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
