<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hasegawayosuke</author_name>
  <author_url>https://blog.hatena.ne.jp/hasegawayosuke/</author_url>
  <blog_title>葉っぱ日記</blog_title>
  <blog_url>https://hasegawa.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>検索する対象がいわゆるシフトJISの場合、たいていの場合は単純なバイト列の比較で事足ります。 単純なバイト列の比較だけでは検索できないケースというのは、以下の2つの場合ではないかと思います。 重複して登録されている文字の検索 Windows-31Jではいくつかの文字は、同じ文字でありながら複数のコードが割り当てられています*1。このため、これらの文字を検索する場合には、単純にバイト列を比較するだけでは見落とす可能性があります。 2バイト文字の先頭にゴミがついている場合 CP932では全角文字は2バイトで表現しますが、第1バイトと第2バイトではかなりの範囲で値が重複しています。そのため、2バイト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhasegawa.hatenablog.com%2Fentry%2F20041006%2Fp2&quot; title=&quot;CP932 - 葉っぱ日記&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>2004-10-06 00:00:02</published>
  <title>CP932</title>
  <type>rich</type>
  <url>https://hasegawa.hatenablog.com/entry/20041006/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
