<?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>プログラミング</anon>
    <anon>業務日誌</anon>
    <anon>業務日誌.NET</anon>
  </categories>
  <description>別システムからのデータファイル取り込み処理で、文字コードが不明であった場合にどうするか、という話から、UTF-8かどうかのチェックができるのか？という話題になりました。 UTF-8の種類 UTF-8という文字コードには、BOM（Byte Order Mark）という情報があるバージョンと、無いバージョンがあります。BOMがある場合、UTF-8データの先頭を見てBOMに該当するデータパターンが入っていれば「BOM有りのUTF-8」ということで簡単に判断可能です。しかし、世の中の大半のUTF-8データはBOM無しなので、実はこの方法はたいていの場合使えません。 BOM無しUTF-8の判定 具体的な…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.backyrd.net%2Fentry%2F20190218%2F1550463480&quot; title=&quot;UTF-8かどうかの判定（C#） - 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>https://images-fe.ssl-images-amazon.com/images/I/51vqn-2eVKL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-18 13:18:00</published>
  <title>UTF-8かどうかの判定（C#）</title>
  <type>rich</type>
  <url>https://www.backyrd.net/entry/20190218/1550463480</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
