<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>frontline</author_name>
  <author_url>https://blog.hatena.ne.jp/frontline/</author_url>
  <blog_title>misc.log</blog_title>
  <blog_url>https://www.backyrd.net/</blog_url>
  <categories>
    <anon>業務日誌</anon>
    <anon>業務日誌.NET</anon>
    <anon>文字コード</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>入力された文字が、いわゆる半角文字、ShiftJISであれば1バイトで表現できる文字かどうかを判断するロジックを組む必要があったので、過去のコードをひっくり返してみました。某作業で作ったコードがたぶん使えそう。方法はいろいろありますが、これは正規表現で文字の範囲を指定して、それと一致するかどうかを見るというものです。文字範囲はShiftJISの00～FF、ユニコードのff61～ff9fを半角文字として許可するというものになってます。ユニコード側の判断パターンがいるかどうか、はちょっとよくわからないのですが……。念のため入れてます（実際、ユニコードもSJISも冒頭部分のコード体系は一緒なので、た…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.backyrd.net%2Fentry%2F20131212%2F1386774707&quot; title=&quot;いわゆる「半角文字」チェック - misc.log&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>http://ecx.images-amazon.com/images/I/413gx6m4keL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-12-12 00:11:47</published>
  <title>いわゆる「半角文字」チェック</title>
  <type>rich</type>
  <url>https://www.backyrd.net/entry/20131212/1386774707</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
