<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Haskell の CGI がうまく動かないので Ruby を使用して URL特殊文字のエスケープについて整理しておきます。 irb(main):004:0&gt; URI.escape(&quot;あ&quot;) =&gt; &quot;%E3%81%82&quot; irb(main):008:0&gt; uri=URI.escape(&quot;あ&quot;) =&gt; &quot;%E3%81%82&quot; irb(main):011:0&gt; URI.unescape uri =&gt; &quot;あ&quot;Ruby では URI::UNSAFE によって定義されている。 irb(main):012:0&gt; URI::UNSAFE =&gt; /[^-_.!~*'()a-zA-Z\d;\/?:@&amp;=+$,\…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20090510%2F1241985904&quot; title=&quot;URL特殊文字のエスケープについて整理しておく - sirocco の書いてもすぐに忘れるメモ&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>2009-05-10 05:05:04</published>
  <title>URL特殊文字のエスケープについて整理しておく</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20090510/1241985904</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
