<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>reminton</author_name>
  <author_url>https://blog.hatena.ne.jp/reminton/</author_url>
  <blog_title>トッツィーロール</blog_title>
  <blog_url>https://reminton.hatenablog.com/</blog_url>
  <categories>
    <anon>VisualStudio</anon>
    <anon>Windows</anon>
  </categories>
  <description>githubから落としたCMakeプロジェクトをビルドするときに詰まったのでメモします。VisualStudio 2017においてソースコードやその他、CMakeの場合はCMakeList.txtなどビルドに必要なファイルがBOM無しUTF-8で保存されている場合、UTF-8でエンコードされていることを認識できなくなるためwarning C4819が発生し大量にエラーが出ました。 大量に発生するエラーは一見文字コードとは関係のないエラーでばかりであったため 原因がBOMの有無であることに気づくまで時間がかかりました。 解決策としては、BOM無しで保存されているファイルをBOM有に変換して保存す…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Freminton.hatenablog.com%2Fentry%2F2019%2F09%2F03%2F022105&quot; title=&quot;VisualStudioでC++利用時にBOM無しUTF-8だと warning C4819 が発生する - トッツィーロール&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>2019-09-03 02:21:05</published>
  <title>VisualStudioでC++利用時にBOM無しUTF-8だと warning C4819 が発生する</title>
  <type>rich</type>
  <url>https://reminton.hatenablog.com/entry/2019/09/03/022105</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
