<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Rewish</author_name>
  <author_url>https://blog.hatena.ne.jp/Rewish/</author_url>
  <blog_title>Rewish@hatena</blog_title>
  <blog_url>https://rewish.hatenadiary.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>全角英数の文字コードから65248個前が半角英数の文字コード。半角英数の文字コードから65248個後が全角英数の文字コード。 // 半角にしたい str.replace(/[Ａ-Ｚａ-ｚ０-９]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 65248); }); // 全角にしたい str.replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) + 65248); }); 65248の部分は16進数で表される事…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frewish.hatenadiary.org%2Fentry%2F20100427%2F1272296260&quot; title=&quot;JavaScriptで全角英数と半角英数の相互変換 - Rewish@hatena&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>2010-04-27 00:37:40</published>
  <title>JavaScriptで全角英数と半角英数の相互変換</title>
  <type>rich</type>
  <url>https://rewish.hatenadiary.org/entry/20100427/1272296260</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
