<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chaichanPaPa</author_name>
  <author_url>https://blog.hatena.ne.jp/chaichanPaPa/</author_url>
  <blog_title>旧燈明日記</blog_title>
  <blog_url>https://chaipa.hateblo.jp/</blog_url>
  <categories>
    <anon>Perlノート</anon>
  </categories>
  <description>WINDOWSでPerlスクリプトを組む時の漢字コードは、一番自然なのが、コードも入出力もシフトJISです。 しかし、シフトJIS漢字コードでスクリプトを組むと、不可解な世界に陥るのです。 そして、その不可解は、大きく分けて以下の２つの問題が原因なのです。 シフトJISの第２バイトコード問題 バイト列による漢字コード境界問題 シフトJISの第２バイトコード問題 シフトJIS漢字は、第１バイトと第２バイトの２バイトで表現されています。 そして、第２バイトには、ASCII １バイト文字『@-~（10進で64-126）』と、かぶるコードが割りついているのです。 この１バイト文字には、以下の問題発生が…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaipa.hateblo.jp%2Fentry%2F20080724%2F1216901982&quot; title=&quot; PerlでのシフトJIS漢字問題 - 旧燈明日記&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>2008-07-24 21:19:42</published>
  <title> PerlでのシフトJIS漢字問題</title>
  <type>rich</type>
  <url>https://chaipa.hateblo.jp/entry/20080724/1216901982</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
