<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sygh</author_name>
  <author_url>https://blog.hatena.ne.jp/sygh/</author_url>
  <blog_title>syghの新フラグメント置き場</blog_title>
  <blog_url>https://sygh.hatenadiary.jp/</blog_url>
  <categories>
    <anon>プログラミングTips</anon>
    <anon>C++</anon>
  </categories>
  <description>Visual C++ (MSVC) には #pragma execution_character_set(&quot;utf-8&quot;) というプラグマがあって、これを使うとコンパイル時にマルチバイト文字列リテラル（プレフィックスなしの&quot;XXX&quot;）をOSのANSIコードページ文字列リテラル（Shift_JIS:CP932とか）ではなくUTF-8文字列リテラルとして扱うようにすることができるんですが、Visual C++ 2012では使えなくなっているようですね。Visual C++ 2013では復活している模様。ちなみにMSVCではソースファイルのテキストエンコードはコンパイル結果に直接関係ありませんが、ワ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsygh.hatenadiary.jp%2Fentry%2F2014%2F02%2F19%2F221007&quot; title=&quot;Visual C++とUTF-8マルチバイト - syghの新フラグメント置き場&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>2014-02-19 22:10:07</published>
  <title>Visual C++とUTF-8マルチバイト</title>
  <type>rich</type>
  <url>https://sygh.hatenadiary.jp/entry/2014/02/19/221007</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
