<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmtms</author_name>
  <author_url>https://blog.hatena.ne.jp/tmtms/</author_url>
  <blog_title>tmtms のメモ</blog_title>
  <blog_url>https://blog.tmtms.net/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>いや --cp932 の本来の動きを知らないので、おかしいというより自分の期待通りではないというべきかもしれません。文字コードの変換の際、JIS 規格じゃなくて Windows がやっているような変換をして欲しいときに、--cp932 をつけとけば良きにはからってくれるんじゃないかなぁ…と漠然と思っていたのです。UTF-8 から ISO-2022-JP への変換の場合、「-Wj --cp932」としておけばよいと思ってたらうまくいきません。梯子高を変換してみます。 $ ruby -rnkf -e 'puts NKF.nkf(&quot;-Wj --cp932&quot;, &quot;\xe9\xab\x99&quot;).unpa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F20090611%2F1244724573&quot; title=&quot; NKF の --cp932 オプションがおかしい - tmtms のメモ&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-06-11 21:49:33</published>
  <title> NKF の --cp932 オプションがおかしい</title>
  <type>rich</type>
  <url>https://blog.tmtms.net/entry/20090611/1244724573</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
