<?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>
    <anon>WindowsとUnicode</anon>
  </categories>
  <description>Windows 上で Unicode を扱う場合に発生するセキュリティ上の問題点などについて不定期に書いていくことにします。以前の内容と重なる部分も多いですし、時間的にもどこまで書けるかわかりませんけれど…。さて第1回目は、 Windows 上で Unicode を扱う際のもっとも基本とも言える WideCharToMultiByte を使用した Unicode から Shift_JIS (コードページ932)への変換についてです。WideCharToMultiByte を使用する際に発生しやすい問題点は以下の2点です。 バッファサイズの指定ミスによるバッファオーバーフロー Unicode か…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhasegawa.hatenablog.com%2Fentry%2F20060208%2F1139381353&quot; title=&quot; 第1回: Unicode から Shift_JIS への変換(その1) - 葉っぱ日記&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>2006-02-08 15:49:13</published>
  <title> 第1回: Unicode から Shift_JIS への変換(その1)</title>
  <type>rich</type>
  <url>https://hasegawa.hatenablog.com/entry/20060208/1139381353</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
